Results 1 to 3 of 3
I installed mysql 5.0.9 in fedora5.after installing when i gave command mysqladmin version an error getting like these. mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-28-2007 #1
- Join Date
- Dec 2007
mysql connection problem
an error getting like these.
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
- 12-28-2007 #2
- 12-30-2007 #3
I had a problem just like this with Fedora/MySQL. It turned out that the permissions on the folder /var/lib/mysql were to restrictive and would not let MySQL creat a socket/file in this folder.
Try changing the permissions for the folder(/var/lib/mysql) to the following
1. Owner can view modify content
2. Group can view content
3, Other can view content