2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock'(46)

2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock'(46)

Post by David Powe » Mon, 13 Jun 2005 16:43:06



Sorry, can't really be of much help. MySQL is normally a breeze to
install. I'm pretty sure the reason it says "The security settings could
not be applied" is because you have successfully set up a root password
for MySQL previously. When uninstalling, MySQL does *not* remove any
existing data tables. You have to remove them manually from C:\program
files\mysql\mysql server 4.1\data.

I've never come across error 2013, but you will see a lot of results if
you google for "mysql error 2013". Most seem to refer to the firewall
problem. I did find one that related to WinXP on a network. That was
solved by adding the following line to my.ini, and restarting the MySQL
service:

skip-name-resolve

It needs to go on a line of its own in the section that begins [mysqld].
I don't know if that will do the trick.

--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
http://www.yqcomputer.com/