MySQL Error 2002 when attempting to make a MySQL Connection

I'm trying to make a MySQL Connection and I've got my Staging/Testing Server setup as FTP with the proper host, username and password for FTP, root directory set to '/' (without the quotation marks) and Web URL set to http://www.mysite.com/
Tested the FTP and it connects.
For mySQL connection in my bindings, I'm using:
Connection Name; connRecords
MySQL Server: localhost
Username and then my Password for my DB which obviously I won't list here.
I click Select Database and that's when I get the prompt:
MySQL Error: #2002
Can't connect to local MySQL Server through socket '/tmp/mysql.sock' (2)
What does that mean and how do I get this to work?

ladobeugm wrote:
I click Select Database and that's when I get the prompt:
MySQL Error: #2002
Can't connect to local MySQL Server through socket '/tmp/mysql.sock' (2)
What does that mean and how do I get this to work?
On a Mac, connection to MySQL is done through a socket (mysql.sock). The fact that there's a (2) after mysql.sock indicates there's something wrong with the socket. Usually, you can clear the problem by powering down your computer and then restarting. Don't just do a restart. Make sure the computer switches off completely to clear the socket.

Similar Messages

  • Error occurs when attempting to make a database connection.

    I receive the following error when attempting to create a new database connection. This is right after a fresh install.
    ava.lang.NullPointerException
         at oracle.dbtools.raptor.explorer.dt.dialog.ConnectionDialog.getTNSConnections(ConnectionDialog.java:1040)
         at oracle.dbtools.raptor.explorer.dt.dialog.ConnectionDialog.selectConnection(ConnectionDialog.java:986)
         at oracle.dbtools.raptor.explorer.jdev.ConnectionEditorImpl.runConnectionEditor(ConnectionEditorImpl.java:37)
         at oracle.jdeveloper.cm.dt.ConnectionEditor.runConnectionEditor(ConnectionEditor.java:156)
         at oracle.jdevimpl.cm.dt.ConnectionController.runNewConnectionDialog(ConnectionController.java:495)
         at oracle.jdevimpl.cm.dt.ConnectionController.runNewConnectionDialog(ConnectionController.java:473)
         at oracle.jdevimpl.cm.dt.NewConnectionWizard.invoke(NewConnectionWizard.java:70)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1093)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
         at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1073)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Thanks.

    Its already logged and we're working it.
    Barry

  • "Incorrect address" error message when attempting to make a purchase

    I am now suddenly getting "incorrect address" when I try to make a purchase on iTunes. Why??  I have been purchasing items with exactly the same info for months.  HELP!

    POSIBLE SOLUTION, PLEASE READ!!!
    I changed my billing address entering the original address used when creating the Apple ID, and it went fine for me.  Try it if you have changed your billing address from the original address used to open the Apple ID.
    Previously my IPHONE was giving me strange messages about ID confirmation when downloading stuff, but it still was downloading after all.  Today, after updating itunes version, I noticed the same issue you all are experiencing.  After reading the suggestions related to change the address to the exact info as the credit card, it just clicked me. I'd removed my credit card about two years ago.  I've being using itunes gift cards.  Also, my current billing address is different from the one used to open the Apple ID, about 5 years ago.

  • MySQL error (2002) in Windows

    I'm using Dreamweaver 9 in Windows with a Apache, PHP5 and
    MySQL4.1. My webserver works fine. But Dreamweaver can't create
    database connection to MySQL. It gives me a MySQL error 2002 and
    referes to that /tmp/mysql.sock is missing.
    What should I do to get this to work? Am I missing something
    here? MySQL Query tool etc all work fine. But Dreamweaver can't
    connect to MySQL for some reason.

    chunkeung wrote:
    > When I login into
    > PHPMyAdmin I see that the Server is "Localhost via UNIX
    socket" so I put that
    > into my setting in dreamweaver for the "MySQL server"
    but on the hosting that
    > giving me that #2002 error message their Server is
    "127.0.0.1 via TCP/IP" and I
    > tried to put in 127.0.0.1 instead of localhost but it
    still doesn't work and
    > gives me this error message.
    localhost and 127.0.0.1 are the same thing. All you need is
    "localhost"
    or "127.0.0.1" (without the quotes). The "via UNIX socket"
    and "via
    TCP/IP" are simply descriptions of the type of connection.
    They are NOT
    part of the server address.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Error message when attempting to run aam

    I am encountering error message when attempting to run aam - Please connect to the internet, then try again when I am already connected

    Please see Sign in or activation errors | CS6, CS5.5 Subscriptions, CS6 Perpetual - http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html for common resolutions to these difficulties.

  • Getting error message when attempting to access iTunes store. UNknow error occurred (0x800903318). make sure your netwrok connection is active.

    In iTunes software get error message when attempting to access iTunes Store. Could not connect. Unknown error occurred (0xx800903318). Make sure your network connection is active and try again...NG

    Hello there,
    Thanks for using Apple Support Communities.
    Since this error 0x800903318 combined with the network connection error message is occuring when you're trying to connect to the iTunes Store, I'd like you to please follow the steps in the article linked to below.
    Apple software on Windows: May see performance issues and blank iTunes Store - Apple Support
    Cheers,
    Alex H.

  • MySQL error 2002: No Such File or Directory in DW CS6

    OK, I've obviously configured something wrong in MYSQL or Dreamweaver, but despite exhaustive research, I can't connect to my database and I can't find a solution online.
    I'm running a Windows 7 Pro system. I installed PHP/MySQL/Apache all at once with a package called WAMPSERVER.
    The DB appears to be running properly. I am able to connect to it and make changes using my phpmyadmin. But no matter what configuration I try, I'm unable to get Dreamweaver CS6 to connect. As this is the same error I get when MYSQL is not working at all, I can surmise that Dreamweaver can't find my database, so what have I missed? Is my testing servr set up improperly? I don't see a lot of options here to do things differently.
    Can anyone offer any suggestions. Is there any other information I need to provide?

    Hi atomec,
    In the time that the experts get back to you, can you have a look at this post? http://stackoverflow.com/questions/10426501/how-to-solve-the-xampp-1-7-7-phpmyadmin-mysql- error-2002-in-ubuntu
    Thanks,
    Preran

  • I updated itunes to 10.4, my ipod touch was wiped clean then errored (2003) when attempting to restore, now my ipod is clear. I have tried disabling my antivirus, no luck.

    I updated itunes to 10.4, my ipod touch was wiped clean then errored (2003) when attempting to restore. Now my ipod is clear, when I turn it on I get the "Connect to itunes screen", this never goes. I have tried disabling my antivirus, to allow me to restore with no luck.
    When I go into itunes I get the message - itunes has detected an ipod in recovery mode. You must restore this ipod before it can be used with itunes,
    how am I supposed to do this ?
    I would rather take the ipod to someone to do the restoration - I still have itunes with all of my downloads on my computer, I dont want to risk losing this as I can re-install onto my ipod when it is sorted.

    Error 2000-2009 (2001, 2002, 2005, 2006, 2009, and so on): If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above. If the issue persists, it may be related to conflicting security software.
    Above from:
    http://support.apple.com/kb/TS3694
    It may be more than you security software.
    Do you have access to another computer you can use to restore the iPod to factory defaults/new iPod?

  • An error occurred when attempting to change modules Lightroom 5 CC

    I've seen other users pose this question but haven't seen any solutions that work for me.  I get the error: "An error occurred when attempting to change modules" when I open up Lightroom 5 on one user, but on another user it opens up fine.  I've tried moving and trashing preferences, uninstalling and reinstalling the program.  It's the same whether I open an existing catalog or try to open Lightroom while creating a new project.  Any help would be greatly appreciated.  This occured after updating to Mavericks on a 2011 iMac.  All other Creative Cloud apps seem to have installed just fine.

    Hi 99jon,
    Many thanks for that. Had been going through this list yesterday and now again today:
    Ref  Solution 1: Lightroom is at its latest update
    Ref  Solution 2: It's interesting how I cannot find the Preferences file anywhere on my mac. (new mac pro, OS 10/9.2) . . .
    Ref  Solution 3: Lightroom doesn't allow me to do anything after the error message appears
    Ref  Solution 4: don't have any Nik Software plug-ins
    Ref  Solution 5: checked permissions and changed all to "Read & Write" - makes no difference
    Ref  Solution 6: I don't have a different user account on my mac.
    Not sure what else to do.

  • Purchased Light Room 5, installed, registered .. but keep getting this screen "An error occurred when attempting to change modules. ... OK" ?? WTF? ?

    Installed Light Room 5.2 from Disc on my mac os x (latest, updated version)
    But keep getting this "An error occurred when attempting to change modules.. OK" no other options/selection and of course if I click OK ... it crashed out ...
    Can anyone help?
    For such a big company .. there isn't any chat option to get to someone to talk to  !!!

    Just because you are the only user on the computer doesn't mean you are the administrator.
    Also, the fact that you are being asked to re-enter your serial number each time you start means that it is not being remembered because something is either preventing it from being written to you disk or (less likely) something is erasing it. This does suggest that you lack certain permissions to make changes to your computer. Not only to save your serial number, but to have access to the Lightroom files needed to change modules (they are just plug-ins within Lightroom).
    Try creating a new user account and run Lightroom from there (making sure that it is part of the Administrator group).
    To get to chat support, you have to choose the options:

  • LR 5 no starting, gives error "An error occurred when attempting to change modules." it is a paid version

    LR 5 no starting, gives error "An error occurred when attempting to change modules." it is a paid version and i will soon leave to a ship as i am a seaman, any help available?
    Thank you in advance

    Actually i did check the site for similar questions and found one without unfortunately any solutions, therefore and as i am about to embark a vessel, due to my job Captain in Merchant Marine Ships, I re posted this matter hoping to have a solution from somebody in ADOBE keeping in mind that i never hesitate to make the purchase of the software believing that i would not have this kind of problems with a company such as ADOBE.
    Thanks again and apologise if my post is duplicated, however i do need a solution.

  • Help with "An error occurred when attempting to change modules"

    Hi! I installed LR v2.6.632038 and I received " An error occurred when attempting to change modules" I could not do anything to make it work so I uninstalled it and then tried to reinstall. I never got to enter my serial number so I do not know if it ever uninstalled completely or if I needed to??? I have Mac OSX version 10.6.2 if that helps   Thanks! Kim

    Error changing modules | Lightroom
    Mylenium

  • Downloaded a trial Light room and got "An error occurred when attempting to change modules." Macinto

    Downloaded a trial Lightroom and got "An error occurred when attempting to change modules." Macintosh. Created another user and it works. WIll this happen if I make a full purchase? I want to use my administrator user.

    Hi ecl44,
    This might be due to incorrect preferences / permissions issue on the Mac.
    You might want to refer to the KB Doc : http://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom.html

  • I get 'an error occurred when attempting to adjust module"

    I took the mac into the Apple store and they tried updating and following online suggestions. but were not able to make it work - any suggestions
    Everytime I have tried to use Lightroom2  and recently Lightroom 5 I get 'an error occurred when attempting to adjust module"
    Anyone know how to solve this as I really want to get using Lightroom

    http://helpx.adobe.com/lightroom/kb/error-changing-modules-lightroom.html

  • MySQL Error#: 2002 Dreamweaver CS5

    HI
    Never had this problum before so not sure why now.  
    MySQL Error#:2002
    A connection attempt faild because the connected party did not properly respond after a period of time, or established connection faild because connected host has failed to respond
    Any help please?

    Thanks for your time Ken and I have uninstalled and reinstalled but its still the same.  The only thing I can think of is I installed zone alarm and since then its not work.

Maybe you are looking for

  • How do I create a separate calendar in iCal?

    I want to create a separate Calendar for our nanny listing just the kids various activities. Thanks.

  • Video in Adobe Reader 7.0.5

    I'm gonna take a shot in here to see if anyone knows of this problem. I am taking a .mov file and embedding it into a .pdf. When I get the file made and I open it up, I have to click on the black box in order for the video to play. However, I would l

  • Electronic Bank statement error

    Hi gurus, I have configured electronic bank statement settings for multicash format when ever i execute the file in ff.5 it is showing the error message and accounting entries will not get generated please help me on this Error message. Account 56003

  • Login window only shows one user account

    Hi, Anyone has an idea what's happening? I'm running Yosemite on MBPr 15" Mid-2012 When I power on or reboot the laptop, on the login window it only shows one user account, my account which is the Admin account.  It doesn't show the secondary normal

  • Can AVCHD be copied to a mac and ingested later?

    Would it be possible to offload video from a SDHC card being shot with AVCHD using by using a high capacity card reader, and later ingesting it into FCP using Log and Capture while the file already resides on the mac? Thanks.