Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mysql Connect on Fedora

Status
Not open for further replies.

minoad

Programmer
Mar 28, 2001
138
US
This is my first attemtpt to use a MySql database. When i attempt to connect MySql i issue the command
"mysqladmin ping" and recieve
"error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
".
I have attempted to start it using:
"safe_mysqld -user=mysql &"
and everything appears to go well.
It responds by saying:
"[1] 2958
[root@localhost root]# Starting mysqld daemon with databases from /var/lib/mysql040327 14:35:06 mysqld ended


[1]+ Done safe_mysqld -user=mysql
"

Even after i run this command i still get the error when trying to connect.
I am currently logged on as root. Any help would be apreciated.

Micah A. Norman

minoad@comcast.net
 
I have solved the problem. It appears that is was a Permisions issue on the folder.

Thanks

Micah A. Norman
minoad@comcast.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top