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 ...
- 12-28-2007 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 2
mysql connection problem
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 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
After installation you've to start Mysqld service with this command:
and then mysqladmin can connect to the localhost.Code:# service mysqld start
- 12-30-2007 #3
MySQL problem
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


Reply With Quote