Database error #2002 can not connect local mysql server to socket through '/var/run/mysqld/mysqld.sock'(2) on mac os x 10.9.2

Dear Fellas:
I received "database error #2002 can not connect local mysql server to socket through '/var/run/mysqld/mysqld.sock'(2)" on mac os x 10.9.2.
mysql info:
ps -ef | grep mysql
    0    66     1   0 11:06AM ??         0:00.04 /bin/sh /usr/local/mysql/bin/mysqld_safe --user=mysql
   74   225    66   0 11:06AM ??         0:02.50 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/Chuans-MacBook-Pro-2.local.err --pid-file=/usr/local/mysql/data/Chuans-MacBook-Pro-2.local.pid --socket=/var/run/mysqld/mysqld.sock
  501   952   947   0  3:52PM ttys000    0:00.00 grep mysql
Please help!!

Fascinated and guessing:
Something related to sock(2) because that's not part of your copied info. I'm thinking you've doubled up on sockets and the second socket doesn't exist, meaning you should be connecting to the first socket "mysqld.sock" whether automatic or not.
I've only used GUI tools on purpose, so does this mean you've already got MySQL running and you tried to launch it again manually? Perhaps you already have one instance of a db and you're trying to launch a second instance, and the two can't coexist with a single user local db?
Assuming this is all local, I'd shut down the db service and restart it, out of hand. I've seen similar messages when I set the db to start up on boot, and it didn't finish shutting down when I tried to restart it manually. Usually the GUI won't let me turn it on because it reports it's already running, but in that case it hadn't finished performing what the GUI was reporting.
Just speculating.

Similar Messages

  • ERROR#: 2002 can't connect to MySQL server through socket '/var/mysql/mysql.sock'

    I was following this adobe article (
    http://www.adobe.com/devnet/dreamweaver/articles/php_macintosh.html)
    to set up PHP and MySQL and connect a MySQL database to dreamweaver
    in Mac OS 10.4.8 and I kept getting:
    "Can't connect to MySQL server through socket
    '/var/mysql/mysql.sock' ERROR#: 2002".
    After a lot of searching I came across
    this
    article which said that there was an error in the PHP and MySQL
    connection or something.
    Anyway all I had to do was type (in a TERMINAL window):
    $ sudo mkdir /var/mysql
    $ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    and that fixed the problem, otherwise the adobe article
    worked very well.
    Check out the "this article" link to get the fix straight
    from the horse's mouth.

    I was following this adobe article (
    http://www.adobe.com/devnet/dreamweaver/articles/php_macintosh.html)
    to set up PHP and MySQL and connect a MySQL database to dreamweaver
    in Mac OS 10.4.8 and I kept getting:
    "Can't connect to MySQL server through socket
    '/var/mysql/mysql.sock' ERROR#: 2002".
    After a lot of searching I came across
    this
    article which said that there was an error in the PHP and MySQL
    connection or something.
    Anyway all I had to do was type (in a TERMINAL window):
    $ sudo mkdir /var/mysql
    $ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    and that fixed the problem, otherwise the adobe article
    worked very well.
    Check out the "this article" link to get the fix straight
    from the horse's mouth.

  • I am using only one Apple ID. The problem, since iOS 6,  is the App Store purchased items screen just shows loading screen  it finally crashes or gives the error message 'can not connect to  Apple store'

    I am using only one Apple ID. The problem, since iOS 6,  is the App Store purchased items screen just shows loading screen  it finally crashes or gives the error message 'can not connect to  Apple store'

    I am using only one Apple ID. The problem, since iOS 6,  is the App Store purchased items screen just shows loading screen  it finally crashes or gives the error message 'can not connect to  Apple store'

  • HT5085 hi, i bought itunes match yesterday, and i can not connect with the server. Error 4010 appear ever time when i want to entry on Itunes match.Thanks

    i bought itunes match yesterday and i can not connect with the server. Error 4010 appear every tiem when i want to entry on itunes match.
    Thanks

    Here are some things to try:
    Close itunes
    Check your internet settings.
    Control Panel – Internet Options – Advanced
    Check SSL 3.0 and TLS 1.0
    Uncheck “Check for server certificate revocation (requires restart)”
    Click Apply
    Click Okay
    Open itunes and try again
    And, you don't need to turn off the firewall, just add itunes and itunes helper to your security software firewall.

  • I can´t set the control panel iCloud. PC writes this: you can not connect because the server error occurred. What´s matters?

    I can´t set the control panel iCloud. PC writes this: you can not connect because the server error occurred. What´s matters?

    Whenever I log into icloud.com
    Using what version of which browser?
    iCloud.com requires Safari 6 or later, Firefox 22 or later, or Google Chrome 28 or later. Have you tried all of those?
    If you have, have you tried clearing your browser cache and cookies?
    For the first tine since 1989 I'm thinking about buying a PC.
    You'd have exactly the same problems on an 8 year old PC too. It's a bit unreasonable to expect such an old Mac to continue to be compatible as software is constantly updated.
    Saying that, I'm still able to access iCloud.com successfully in Safari v5.0.6 on a PowerPC Mac running Mac OS X 10.5.8, so the problem you're having is likely to be a browser issue, not something inherently wrong with the computer.
    Since all this crap started, Mail won't download my Mac.com or me.com email.
    The iCloud.com website is totally unconnected to Mail's ability to download email via IMAP. Have you checked the mail server settings are correctly setup and up-to-date?

  • Error Message: -1 Can not connect to the server is the message I get?

    I am getting a -1 error message that it can not connect to the server when I am trying to use the apps on my Photosmart 6510 e-all-in-one series. If someone can please help me fix this I will greatly appreciate it.

    Hi there spicygirlbowtiq,
    Could you provide the community with a little more information to help narrow troubleshooting? What operating system are we using?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How to fix ipad error -1004 "could not connect to the server"

    I am trying to access the tablet edition of Vanity Fair. I already have a subscription and when I click on the "Tap here for acces to the tablet edition" it takes me to a screen & this error message pops up:
    Cannot Open Page
    This page cannot be opended because of an error
    This error is "Could not connect to the server."(-1004).
    I have deleted, reinstalled via itunes on my mac, done a hard restart and nothing seems to be working. I can browse the web using safari and am connected to the internet via wifi.
    Any suggestions?

    I have the same issue, too. My New Yorker subscription is fine, always has been. But my Conde Nast Traveler subscription won't work. I can get to the screen where you enter your information (either with name and address or subscription number and zip code), but once I press Continue I get the error.
    I emailed Conde Nast's customer service, and this is what they said:
    Dear Subscriber:
    Please accept our sincere apologies for the inconvenience you have
    experienced.
    We have applied a fix to the app for the server error and you will need
    to close and re-open your app. To do so, please double click the "home"
    button to close the running app and then re-open your app.
    Please let us know if you still experience any problems.
    If you should need further assistance, please be sure to include all
    previous e-mail correspondence.
    Thank you for your interest in Conde Nast Traveler.
    Sincerely,
    Shar
    That didn't work. I tried the restarting the iPad, as someone here suggested, but that didn't work, either. Interesting that this seems to be a Conde Nast issue - my NY Times and National Geographic subscriptions are just fine, too.
    I'm afraid I'm not sure what the guidance in this knowledge base article means: "Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software." How does one do that on one's iPad?
    I actually wonder if it's a firewall issue. Are any of you attempting to enter this information at work, for example? I am, and my company has a firewall/proxy that gives me issues sometimes. I'm going to try to find a wifi hotspot at lunch to see if it'll work there.

  • HT204400 Apple TV can not connect to the server at this time

    I keep getting this message when I try to buy or rent movies?  I can select movies and watch previews but when trying to buy/rent I get this error message: Apple TV can not connect to the server at this time.  I have a great WiFi connection.  Help

    Apple TV can't connect to the server at this time. Please try later.
    This is the message of yesterday . I try to access my account and I can not. What is the problem?
    AppleTV 2

  • Essbase Administration Services "Can not Connect to Administration Server"

    Hi
    Here I am installed Oracle EPM 11.1.2.2 Essbase,Planning and Reporting and after sucessfull configuration. When I tried to open Essbase Administration Console and there is no option to open administration console and I opened the Hyperion extraction setup folder and I installed Essbase Administration Console setup manuallay and after sucessful installation I try to Open and when I create new server and ir=ts created and then I am trying to connect server its throw this error
    Error: Can not Connect to Administration Server
    Please give me possitive things.
    Thanks in advance..

    Did you deploy the web applications to one managed server in the configurator, if you did then EAS is probably running on port 9000 so you would need to enter the server in the EAS console as servername:9000
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • HT201263 the itunes tales me that can not connect to update server, i tried to connect my i pad ever ting is ok to the ipad but my iphone stop working after update and i tried all solutu=ion suggested on the internet please i need help

    after i update the iphone 4s to ios 6.1.1 my i phone stop responding and a message appear tell to connect to i tune i did all the solution and put my iphone in dfu mode and nothing happen my i phone is gone no solution and a message appear tells that can not connect to update server but my ipad work at the same pc the problem in the i phone, plz some help

    Was thje TM backup 10.6 also?
    I never use TM for Backups, far better less painful backup methods, but...
    Have you looked through Pondini's extensive TM help site?
    http://Pondini.org/TM/FAQ.html
    http://pondini.org/TM/Troubleshooting.html
    Can't imagine something not being covered there.

  • Apple Tv is telling me it can not connect to the server. How do I fix that?

    I changed my apple id and after I did, now my apple tv says it can not connect to the server when I try to view my purchases. Hulu and netflix work so the internet is working fine.  My phone and ipad also work fine with the new id.  Does anyone know how to make my apple tv purchases come back?

    Power cycle the router and the ATV.
    If the issue continues on the ATV go to Settings > General > Reset

  • I am not able to use iMessage, While I am trying to connect, it says 'Can not connect to the server'

    I am not able to use iMessage, While I am trying to connect, it says 'Can not connect to the server'.
    I tried to reset apple id for iMessage but now it is not accepting any apple id with gmail or icloud id.
    Kindly help

    Try here:
    iTunes Store: My credit card's security code or zip code does not match my bank's records
    Then try contacting iTunes
    Apple - Support - iTunes - Contact Us

  • MySQL problem -- ERROR 2002 Can't connect to local MySQL server

    Not Sure if this would be a right forum for my problem...
    I'm installing mySQL on my iBook, and thought that I have configured it. But then, after followring some instuctions from Adobe and Marc Liyanage sites, I have a problem to connect. This is what I've done in "TERMINAL"
    ~username$> cd /usr/local/mysql
    mysql ~username$> sudo chown -R mysql data/
    (asking for admin password)
    mysql ~username$> sudo echo
    mysql ~username$> sudo ./bin/mysqld_safe &
    username-ibook-g4:/usr/local/mysql username$ Starting mysqld daemon with databases from /usr/local/mysql/data
    STOPPING server from pid file /usr/local/mysql/data/roshaili-osmans-ibook-g4.local.pid
    060611 16:31:30 mysqld ended
    mysql ~username> /usr/local/mysql/bin/mysql test
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
    [1]+ Done sudo ./bin/mysqld_safe
    mysql ~username>
    When I typed ::
    /usr/local/mysql/bin/mysqladmin -u root
    (see that there's no password)
    Then it displays:
    /usr/local/mysql/bin/mysqladmin Ver 8.41 Distrib 5.0.22, for apple-darwin8.6.0 on powerpc
    Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    Administration program for the mysqld daemon.
    Usage: /usr/local/mysql/bin/mysqladmin [OPTIONS] command command....
    -c, --count=# Number of iterations to make. This works with -i
    (--sleep) only.
    ...... bla bla bla.....
    Variables (--variable-name=value)
    and boolean options {FALSE|TRUE} Value (after reading options)
    count 0
    force FALSE
    compress FALSE
    character-sets-dir (No default value)
    default-character-set (No default value)
    host (No default value)
    port 0
    .........bla bla....
    ping Check if mysqld is alive
    processlist Show list of active threads in server
    reload Reload grant tables
    refresh Flush all tables and close and open logfiles
    shutdown Take server down
    status Gives a short status message from the server
    start-slave Start slave
    stop-slave Stop slave
    variables Prints variables available
    version Get version info from server
    roshaili-osmans-ibook-g4:~ roshailiosman$ >
    -----------------finish-----------------
    Does that mean that I'm connected to mySQL?
    Does anybody how to connect to MYSQL from the terminal? Thanks.
    iMac Mac OS X (10.4.6)
    iMac   Mac OS X (10.4.6)  

    Your biggest 'issue' right now is that your mysqld process is stopping on you -- making a connection impossible.
    Why it's bombing might be in a log .. try in mysql/data/usr.local.err .. and fix why itsbombing.
    To connect to it it'll be : mysql -u root -ppassword -D database

  • TS1717 I can get on my itunes but when I go to update it has an error saying that I can not connect to update server. Any suggestions

    I can get on my itunes but when i go to check for updates it has an error saying that I can not connect to update servor. I checked my firewall and Itunes is checked for exceptions, any ideas

    See if this helps:
    Trouble installing iTunes or QuickTime for Windows

  • When trying to check my emails its states it can not connect to the server

    when trying to check my emails its states it can not connect to the server

    Hi Tanya2707,
    If you are having issues checking your email from your iPhone, you may find the troubleshooting steps in the following article helpful:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Regards,
    - Brenden

Maybe you are looking for

  • Satellite X200-245 can i install a second HDD

    on satellite X200-245 : can i install a second hard drive ? is it possible ? There is a place for it but no sata connection on the mother board where can i find this connector

  • Error 150 30 - files don't exist

    Hi, I just reinstalled Lion onto my old MacBook and restored the back-up from my new MacBook (which I'm sending back and swapping for an iMac). Although now when I try and open After Effects CS4 I get the following error: 150 30. Naturally I googled

  • Somebody use my skype and I can't log in

    Hello guys somebody use my skype so I can't log in skype message mentions that this skype is all ready loged in what can I do to kick him plz tell me serious problem ty..

  • Adobe AIR.dll_unloaded When Flash Builder 4.6 closed.

    I found nothing about Adobe AIR.dll_unloaded by Google.

  • Object key in NAST

    Hi All , when an output type is triggered , an entry in NAST gets created . We have an object key in that entry. My question is where that object key is attached . For example ,in V1 application, document number(VBELN)  is the  the object key . In ca