Can't connect to mysql - unidentified error

I am new at this.  I created a PHP page and I want to connect to mysql on my host's server.  I can connect to my server as I can upload my site.   When I click on my database - MYSQL connection in dreamweaver I populate the appropriate informatioin.     When I hit test I get an unidentified error  It doesn't appear it is connecting to my database.   My cpanal and database appear to be set up so I can access it remotely.
YUUGGG.   Since I can connect to my server to upload my site, I have verified I should be ok with accessing the database remotely what could be the problem?

Connection name = database
MySQL server: 174.120.152.211 (I was told to use this by my hosting company since I was accessing the file remotely
Use name:  jake_jake
Password - password for database
datebase = database name
What's weired is I can connect to upload my site but when I try to connect to get my database I can't. 

Similar Messages

  • Can't connect PHP/MySQL 404 error

    Wow, the learning curve is killing me. Yet another challenge. I'm using Dreamweaver CC and this tutorial http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    I'm at this step:
    Open comments.php. You must have a PHP page open in the Document window to create a MySQL connection.
    In the Databases panel (choose Window > Databases), click the Plus button on the panel and select MySQL Connection.The MySQL Connection dialog box appears.
    Type connTest as the connection name.
    For the MySQL Server, type localhost.If you are using the MAMP default ports on a Mac, use localhost:8889.
    For the User Name, type phptestuser.
    Type the password you chose for the phptestuser account in the Password field.
    For the Database, type php_test.Note: You don't need to precede the underscore with a backslash here. It was inserted by phpMyAdmin in the previous section (see Figure 20) only because phpMyAdmin uses a query that permits wildcard characters.
    Click Test.Dreamweaver attempts to connect to the database. If the connection fails, do the following:
    Double-check the server name, user name, and password.
    Check the settings for the folder Dreamweaver uses to process dynamic pages (see Specifying a Testing Server for Dreamweaver).
    Verify that the web and MySQL servers are both running.
    Temporarily disable any firewall or security program. If the connection works, you need to configure the security program to permit communication between Dreamweaver and MySQL.
    Click OK. The new connection appears in the Databases panel.
    Expand the connTest connection, and then expand the Tables branch. You'll see the comments table in the database, which you can expand to reveal the details of the table columns (see Figure 23).
    As far as I can tell I have followed this tutorial to the letter.
    As far as I can tell, XAMPP/php mySQL are all running fine, the files are in the correct place and everything should be working. However when I hit test I get a 404 error. (Same error when I hit the select button.)
    The suggested problems on the 404 message are:
    1. There is no testing server running on the server machine.
    Pretty sure the testing server is running. Is there any way to test this, other than to note that xampp is definitely running right now and that I can log into phpMYadmin no problem?
    2. The testing server specified for this site does not map to the http://localhost/php_test/_MMServerScripts/MMHTTPDB.php URL Verify that the URL Prefix maps to the root of the site.
    Ummm...I'm pretty sure I put things where I was told to put them in the tutorial, but I'm lost at this point where I should verify what. A clue here? The files are where they are supposed to be, but maybe I entered something wrong? Except...I'm not sure what that could be or where to find it. Whatever IT is.
    Everything in local files is looking good.
    Thanks for your help!
    PS: Extra points to anyone who figures out how to make copy/pasteable error messages! These buggers are the bane of my life!

    Bgupta, you rock!
    I hope you have copied the "mysql.php" and "MMHTTPDB.php" files from "C:\Users\username\AppData\Roaming\Adobe\Dreamweaver CC\locale\Configuration\Connections\Scripts\PHP_MySQL\_mmDBScripts" to "C:\xampp\htdocs\phptest\_mmServerScripts"
    This was EXACTLY the problem. I checked the tutorial and I couldn't even find where the tutorial said to do this. (If I missed it, let me know where in the tutorial it was, please.)
    Fixed!

  • I can't connect to MySQL getting Error #2002 after I updated php

    I'm on a mac and I updated my version of PHP and installed the GD library.
    The problem is that I needed up date my connection to the database or something to that affect so I ran this command line:
    sudo mkdir /var/mysql
    sudo ln -s /private/tmp/mysql.sock /var/mysql/mysql.sock
    And it worked... but then I restarted my computer and now I can't connect and I'm getting the error I had of...
    #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
    So I tried the above two lines of code and it said those files/directory exist.
    I went into /etc/php.ini file to change this mysql.default_socket = /var/mysql/mysql.sock
    So what do I need to do here to change this permanently?

    Post Unix queries to the Unix forum under OS X Technologies.

  • 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.

  • 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.

  • MySQL - Another 'Can't connect through mysql.sock' question...

    Hey, folks.
    So I'm trying to install MySQL to run with PHP on my PowerBook G4 (running 10.4.7, non-server edition) to use it to test out a shopping cart program for a website I'm building.
    I had it working as of Monday, when I installed it, got all the permissions set, built the necessary tables, and changed the root password (and logged in just to make sure it worked before retiring for the night)...but today I realized that I had somehow installed the wrong version of MySQL (I connected to it earlier today and discovered it was 4.026 - and I needed to be running MySQL 4.1.20, in order to be running the same version as my webhost).
    So I decided to upgrade. I downloaded and installed the 4.1.20 file, followed the directions about creating the system tables, changed permissions via sudo chown -R mysql:mysql data...and now, when I go to change the root user password (just to make sure it's still the same as it was), I get the following error:
    error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
    This error also occurs when I try to simply startup MySQL. I also now find I can't connect via MySQL Admin, either - it gives me the same error. Pinging the host works, however.
    Sooo...anyone have any ideas? I've read up on the forums re: Apple changing the socket to /var/mysql/mysql.sock as of 10.4.4, but it seems that would have affected me earlier this week when I was running the previous version of MySQL, too (I certainly haven't upgraded the OS since then).
    Regardless, I can't connect through MySQL Admin using the /var/mysql/mysql.sock socket, anyway...nor the standard /tmp/mysql.sock.
    Any thoughts on what might be causing this? I should confess, I'm well-versed in DOS (ugh), but UNIX is not really my strong suit, so I'm still figuring out how to get around in the Terminal...
    Thanks so much for any input you can give me!
    (Oh, one more thing, since it'll probably come up - I'm not currently connecting via PHP, but I will be eventually. Right now, I just want to be able to change my root password, and login from the Terminal)!
    Thanks again!\
    PowerBook G4 1GHz 15   Mac OS X (10.4.7)  

    Alright, folks.
    Somehow my computer has fixed itself. After wiping the mysql directories entirely, then reinstalling, I was still getting the same error.
    After going back to the original "MySQL-On-Mac" site at Marc Liyanage's entropy.ch site & following some of the instructions there, somehow my problem seems to have fixed itself.
    I wish I could tell you what the solution was (to benefit anyone else having this problem), but since I was simply following the unix commands listed there (without much explanation, at times, as to what they were doing), I just know that somehow it worked.
    (But if I had to make a guess, I think it had to do with starting the server via sudo ./bin/mysqld_safe &)...

  • Can I connect to MySQL database

    sorry for my English...
    I'm absolutely new in Flex
    can I connect to MySQL database?
    I read here that I need to create a java class file and edit
    an xml to create connection to oracle, can I connect to MySQL
    server too, I think that the PHP-XML is too slow to work with lare
    amounts of data... so can you post me MXML, the XML, and the JAVA
    class file, with I will be able to send sql to mysql server and get
    the response?
    or FDS is a stand-alone SQL server?

    Flex is not a SQL server.
    The Flex SDK and compiler supports developing applications
    that run in the Flash player.
    Flex Data Services is deployed as a Java web application that
    simplifies integrating Flex clients with Java server-side resources
    (including interacting with SQL databases via Java).
    FlexBuilder is an IDE for developing Flex apps.
    I'd recommend spending some time browsing the Flex product
    area on adobe.com.
    Best,
    Seth

  • Can't connect to PSN. Error code: ce-33987-0

    Almost every night I can't connect to PSN. Error code: ce-33987-0
    After multiple PS4 restarts and my router restarts - it connects. Sometimes it connects after few hours without doing anything at all. So I couldn't find any pattern.
    My router and internet is perfect - all other devices at home has perfect internet connection at full speed.
    I tried all the tricks I've found in this forum (make my PS4 primary, connect to wifi and connect back to cable, do not turn off PS4 and leave in standby, check NAT type etc.).
    But nothing helped.
    Connection test shows NAT Type 2 which is perfectly OK I guess.
    Is this PSN that unstable or what?
    How should I solve this problem?

    I've been having the same problem for over a week, but I think I found the solution to it.Firstly, my internet setup is an old netgear modem-router combo hooked up to a new TP-Link (n) router. The netgear is set to modem only mode. My ps4 is connected wirelessly downstairs.For about 3 months, my ps4 was working normally with no problems, but about a week ago this error code started popping up inconsistently. Sometimes everything was fine, most times it wasn't.I isolated the problem to the PS4-Router communication, as my ps3 (and everything else at home) worked perfectly with no changes to the setup. Possible Solution- Today, I factory reset both devices (Netgear and TP-Link routers) and set them up to the point where they worked normally (with my phone, laptop, etc).Then, I enabled UPnP on BOTH devices, and also Forwarded all the necessary ports for my PS4 on the TP-Link router.I changed the wireless channel on the TP-Link to [1] from [6].I also changed the wireless channel width on it from [auto] to [20mhz]. This automatically reduced my max Tx rate to [130mbps] from [300mbps]. (I suggest doing this manually if it doesn't change automatically).I rebooted the TP-Link router, and started up my ps4 after a few seconds. The system loaded perfectly, PSN signed in instantly, and I played an hour on BF4 with no problems. I also restarted my PS4 again to see whether the settings would 'Stick'. They did, it still ran perfectly. I won't play again for a few hours, but I will report here if it does/doesn't work. Good luck trying my solution, Hope it works for you.Happy Gaming

  • I can't connect to Time Capsule- error message: Backup disk is not available. Was working fine before.

    I can't connect to Time Capsule- error message: Backup disk is not available. Was working fine before.

    Restart it.. Does this all the time with Lion and even worse ML.
    Restart the whole network if that doesn't work.. do it in correct order.. from off.. modem.. TC.. clients 2min gap.

  • Can't connect to cloud.. error message.

    Ever since I did the Lollipop update on my Galaxy S5 I'm getting this error message: "Warning! we can't connect to the coud service at this time. Please check your data servic e and try again". This is happening CONSTANTLY. Sometimes every five minutes if I'm using my phone.
    I'm connected to WiFi and data, so I don't understand why I keep getting this error message or how to make it stop. Anyone have suggestions?
    Please refer to post and replies: Can't connect to Cloud.. error message.
    Message was edited by: Verizon Moderator

    Let's get you connected to your cloud once and for all madelinefrances. When was the last time you were able to connect to the Cloud successfully? Are you able to connect to the internet successfully on your phone? Does the error message pop up randomly on your phone or only when you try to access the application?
    Thank You,
    MichelleL_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • I receive an error message0xe800007f iTunes can not connect with iPhone unknown error

    i receive an error message, " itunes can not connect with iphone , unknown error
    " 0xe800007f
    i have mac mini with lion os and iphone 4s

    Make sure you have the latest version of iTunes. You can download it from here -> http://www.apple.com/itunes/download/
    If that doesn't work, check out this Apple article -> iOS: Unknown error containing '0xE' when connecting to a Windows PC

  • 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?

  • Itunes sudden can't connect with itunes store, error code 11556

    Sudden can't connect with itues store, error code 11556

    Try these discussions...
    https://discussions.apple.com/message/18950811#18950811
    https://discussions.apple.com/message/20057934#20057934
    FRom the  More Like This  section on the right.

  • Can't connect to MySQL [subject edited by moderator]

    Unable to connect to a remote MySQL database with FTP from 'MySQL Connections' despite all connection parameters being valid, just get "an unidentified error has occured" message.

    MurraySummers wrote:
    Actually, I was describing what you need to do to connect to the database with DW. If your attempt to connect is blocked by the firewall (because you are a foreign entity), you will never be able to test the connection parameters in DW. Failing that then you will have to do exactly what Rob is suggesting:
    1. Connect to the database via the host's phpMyAdmin
    2. Export the database's contents to a sql dump file
    3. Import that dump file into a local mysql database
    4. Configure DW to connect to the local database
    5. Build your connection script in DW
    6. When completed, export locally and import remotely (the reverse of #2 and 3)
    7. Upload your script and adjust your connection parameters to use "localhost" for the mysql server name
    It's a tedious and complex series of steps for sure. My preference is to always get an exception added to the host's firewall for my IP address - then I can connect, build and develop directly on the mysql server for the site. (and by the way, I much prefer using Navicat to using phpMyAdmin!)
    What happens if the remote host loses the database file/s?
    I recently had an instance where a certain well known provider in the UK managed somehow to lose all my website files and database files. I was only able to restore the site because I had a local duplicate copy of the site files and database files. I know it don't happen that much but its possible. You must ALWAYS keep an up-to-date version of the wesbite files locally - personally I never connect locally to a remote database because unless you have some 'automated' back-up either on your own local server or the host server this could spell trouble.
    If a client updates their own site I pass the resposibility of backing up the database over to them, as far as I know none do, prefering to leave the responsibility to the host, great if they do - not so good if they don't or lose the files.
    EDITED,
    I think Navicat takes care of the automated database back-up, right? - I dunno about phpMyAdmin though.

  • Can't connect to MySQL

    Hi all:
    I've set up a LAMP (Linux-Apache-MySQL-PHP of course) server
    and I'm getting the good old unidentified error when trying to
    connect. The Adobe technote gives a number of seemingly ambiguous
    reasons why this can happen. Has anyone else encountered this
    problem and if so what is the most common cause? I have a user set
    up for Dreamweaver in the MySQL database and I can connect wtih an
    admin program from the same computer. The error occurs just as I
    click test on the add connection dialog. I can supply more info but
    I'm so new at this I don't even know what's important. Any help
    would be greatly appreciated.
    Thanks!
    Ken Ha Quad

    IfyO wrote:
    > I begin to wonder if the makers of Dreamweaver8 intended
    to give
    > us all a Jigsaw puzzle.
    No, the makers of Dreamweaver give you software that works
    correctly
    with a properly configured setup.
    > How can Adobe sit bag and let us keep going through this
    stress?
    I agree that the setup documentation could be clearer, but
    most of the
    problems that I've encountered are the result of incorrect
    installation
    of PHP/MySQL. That's not Adobe's responsibility. The other
    main source
    of problems is failure to define a testing server correctly
    in the
    Dreamweaver site setup.
    > Following your suggestion, how does one determine a more
    uptodate library when
    > you have just installed the latest version of
    Dreamweaver 8 and EasyPHPserver?
    Dreamweaver 8 relies on a correctly configured installation
    of PHP and
    MySQL. It installs nothing that affects the performance of
    PHP or MySQL.
    Part of your problem may lie in using EasyPHP. I've just
    visited the
    EasyPHP site, and see that the latest version of EasyPHP uses
    PHP
    4.3.10, MySQL 4.1.9, and phpMyAdmin 2.6.1. The latest "real"
    versions
    are PHP 5.1.4, MySQL 5.0.22, and phpMyAdmin 2.8.
    There is a warning in the PHP manual that none of the
    "all-in-one"
    packages are endorsed by php.net. The fact that EasyPHP can't
    be
    bothered to update to more recent versions is one reason you
    shouldn't
    rely on such packages.
    > You still keep getting the error message that it cannot
    find MMHTTPDB which is
    > sitting clearly in the appropriate folders!!
    If it were sitting in the appropriate folder, Dreamweaver
    would find it.
    It sounds as though you haven't defined your testing server
    correctly.
    To start off with, the site files must be in the Apache
    server root. In
    the testing server definition, enter the location of the
    files in
    testing server folder, and the correct URL in URL prefix.
    On my setup, the Apache server root is C:\htdocs. So the
    correct
    settings for a site called "mysite" is as follows:
    Server model: PHP MySQL
    Access: Local/network
    Testing server folder: C:\htdocs\mysite\
    URL prefix:
    http://localhost/mysite/
    However, you may still have problems connecting to MySQL with
    EasyPHP,
    because it uses PHP 4.3 in combination with MySQL 4.1. You
    may need to
    set up your MySQL passwords using the OLD_PASSWORD protocol:
    http://dev.mysql.com/doc/refman/5.0/en/old-client.html
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

Maybe you are looking for

  • Photoshop 9 Starting Issues

    Everytime I try to open pse 9 it says that there is a problem and it will notify me of a solution if available, which it has not. I have uninstalled and reinstalled the program. Please help me out.

  • Error when I run java

    Hi there i am new to java, i tried to follow tutorial and tried to do my first program Hello World, javac is OK but when i run java HelloWorldApp then system shows me error, EXEPTION IN THREAD "MAIN" JAVA.LANG......... how can i solve this error?

  • My 5S appears to have zoomed in so much I can't see anything.  Is there a way to reset?

    please help, my 5S appears to be frozen

  • Ipod touch & ipod shuffle on same itunes account and computer

    I have an ipod touch which works fine with my itunes account.  I purchased an ipod shuffle for my sister for xmas.  I need to synce a playlist of songs for her on the ipod shuffle using my computer.  I have purchased songs for her from itunes which a

  • Controlling embedded Flash player

    Hi All, I am working on a project whereby the embedded Flash player (9) needs to be controlled from code. The following must be accomplished: There is a list of .swf files stored in a XML file on the web server. (These .swf files are converted from .