I'm in chapter 16 of the book _Agile Web Development with Rails_. I
was able to get Apache/Passenger working, but now I'm stuck on MySQL.
When I enter "mysql -u root", I get the message:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock'
I created the /var/run/mysqld directory and the /var/run/mysqld/
mysqld.sock file. However, I was not able to grant ownership of this
file to mysql, because the user mysql doesn't exist.
Actually i installed mysql-workbench on ubuntu, unable to start mysql.
Whenever i type service mysql start or service mysqld start, i get "
mysql is unrecognized command".
Actually i installed mysql-workbench on ubuntu, unable to start mysql.
Whenever i type service mysql start or service mysqld start, i get "
mysql is unrecognized command".
Actually it means that mysql server is not installed try to re-install
it by this command: sudo apt-get install mysql-server