mysqld.sock
Hi
When i try to operate mysql i got an error because of mysqld.sock,how to create mysqld.sock under Debian, in /var/run/mysqld. |
Hi -
mysqld.sock gets created by mySQL when you start it - you don't create it yourself. Try starting mySQL manually, as "root" (e.g. "/etc/rc/init.d/mysqld start"). The problem is almost certainly permissions. 'Hope that helps .. PSM |
I don't think that it's permissions:
Did you setup the initial database before starting the server? Did you start the server (see paulsm4's post for the how)? PS Not programming related |
Do this: Go into your /etc/init.d/mysql script. There should be something toward the top about using sockets and to uncomment (or comment out, I forget exactly which) a line in that script to not use sockets. I did this a couple months back. It's pretty self explanatory.
Then do a mysql restart. You should then be able to connect. |
All times are GMT -5. The time now is 02:39 PM. |