problems connecting to mysql database
Hello. I'm having problems connecting to the mysql database on my system. I first noticed this when I was trying to set up the program anymeal. I subsequently tried using MySQL Administrator (mysql-admin), but had no luck. It gives my the following feedback:
Code:
Could not connect to host 'localhost'. Code:
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.166 ms |
Hi,
Ping localhost is useless, as it's already up since you're logged in it. Check if mysqld is running and if the socket is at the location specified Code:
lsof|grep mysqld.sock |
I figured it out. Turns out I did not have the server installed. Why this wasn't a dependency of the AnyMeal program, I'm not sure, but anyway, I now got it working. Also, for the AnyMeal program, I needed to set it to "network" from localhost, rather than running from mysqld.sock, which I couldn't get going.
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 01:07 AM. |