Nathan Whitington wrote:
Hello there,

I've searched long and hard, and pestered many people for a solution and for help however I can not get around this problem.

I have installed MySQL on my computer which is an Apple iBook G4 which is running Mac OS X 10.4.2 and I wish to use MySQL so that I can learn something and play with it.

Great, but what version of mysql? How did you install? Did you follow the post-installation instructions <http://dev.mysql.com/doc/refman/5.0/en/unix-post-installation.html>?

I have tried to connect and startup the database through the terminal and I've even tried to startup MyPHPAdmin, however I'm getting this message:

How did you try to start the server? Did it start? Is there anything in mysql's error log?

#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)

Error 2002 means the client could not find the socket file to connect to the server. This usually means the server is not running, or the client is misconfigured. As you don't mention any attempts at configuration, I'll guess the server isn't running.

Does anybody know what it is I can do to start to get around this problem?

* Follow the post-install procedure in the manual.
* Make sure mysql's data directory is owned by the mysql user.

After that, the most likely problem is that mysql cannot create the socket file due to permissions problems. The default location for the socket file is in /tmp. Several versions of / updates to Mac OS X have set incorrect permissions on /tmp. You should

  cd /tmp
  sudo chmod 1777 .

to set correct permissions on /tmp.  Then try to start mysqld:

  cd /usr/local/mysql
  sudo -v
  sudo bin/mysqld_safe &

If it doesn't start, look for the .err file in the data directory (the error log) for the reason. If you need more help, include the answers to the above questions, the exact commands you entered, the exact text of any errors rceived, and the contents of the error log in your reply.

Thank you very much in advance,

Nathan Whitington <><
[EMAIL PROTECTED]

Michael


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to