Lachlan Mulcahy wrote:
Hi Unnsse,
Here's the problem at hand:
Raven:~ untz$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2)
Can anyone tell me what possibly I am doing wrong?
The message you are getting is saying that there is no socket file at
/tmp/mysql.sock -- This is where the server will create it's socket
file by default. It is an indication that your MySQL Server is in fact
installed, but simply not started.
If my memory serves me correctly the OSX Installer package includes a
System Preferences module. Try opening your system prefs and looking
for a "MySQL" button in the "Other" section. That control panel applet
should allow you to easily start the server. Otherwise, running the
following command should suffice:
sudo mysqld_safe --user=mysql
Once you have been prompted for your sudo password you can background
the process by press Ctrl-Z and then entering the command "bg" to the
shell.
I hope this helps,
Kind Regards,
That will work, but I find it simpler when starting manually to run `sudo -v` to
get prompted for my password, then `sudo mysqld_safe &` to start mysql.
Michael
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]