I’m in chapter 16 of the book Agile Web D. 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
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.
What exactly do I need to do?