Results 1 to 4 of 4

Thread: MySQL

  1. #1
    Question MySQL
    I am countinually receiving these errors.
    I have followed all the instructions on several sites including apple's developer site...
    I have compiled from source and also install binary and from darwin ports.
    yet I keep getting this error. I under statn the the the seccond cammand will not execute properly if the first does not but I'm lost.
    I have been running mysql on linux for quite some time now.

    Josh-Holts-Computer:/opt/local/bin root# ./mysqld_safe --user=mysql
    Starting mysqld daemon with databases from /opt/local/var
    STOPPING server from pid file /opt/local/var/
    041108 11:16:57  mysqld ended
    Josh-Holts-Computer:/opt/local/bin root# ./mysqltest                                        
    ./mysqltest: Failed in mysql_real_connect(): 
    Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

  2. #2
    i have the same problem please let me know if you have figured it out

    cheers chris

  3. #3

    muso's Avatar
    Member Since
    Jan 15, 2003
    Whangarei, New Zealand
    I got the second error after I'd upgraded an installation. I fixed that by removing /tmp/mysql.sock and running the installer again. Can't help you with the first one, sorry...
    I'm in your forums, writing sentences in a grammatically acceptable manner.

  4. #4

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Mount Vernon, WA
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    Try using instructions and use the MySQL OS X installer and then try setting the permissions on the /tmp/ directory to 777 and see if that works for you. It looks like you are having a write error to that directory.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. mySQL
    By burnedfaceless in forum Web Design and Hosting
    Replies: 1
    Last Post: 02-03-2014, 09:36 AM
  2. MySQL on OSX?
    By [Ex3]Intrigue in forum Web Design and Hosting
    Replies: 11
    Last Post: 08-01-2008, 09:57 PM
  3. removing mysql
    By Bilobrkster in forum OS X - Operating System
    Replies: 3
    Last Post: 07-15-2008, 04:33 PM
  4. MySQL Query
    By Murlyn in forum Schweb's Lounge
    Replies: 4
    Last Post: 07-13-2007, 09:18 AM
  5. MySql And Other Questions
    By bwilliamson0019 in forum Web Design and Hosting
    Replies: 4
    Last Post: 11-10-2005, 04:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts