Dreamweaver wont connect to mysql

Hello,
I am using Yahoo for my hosting service. They do not allow
remote access to the database on there server. B/c I rely alot on
Dreamweaver mx alot for building php pages to allow my cust to
access the database I need to set up a mysql connection in
Dreamweaver. I have installed mysql and php on my computer. I built
a database w/ a simple table just to have to test the connection.
Anyway, when I try to connect thru Dreamweaver in the database
panel it gives me an unknown error. I cant figure out why! I thank
any one who can assist me w/this.
Thank you,
Manda

SexyManda85 wrote:
> Hello,
> I am using Yahoo for my hosting service. They do not
allow remote access to
> the database on there server. B/c I rely alot on
Dreamweaver mx alot for
> building php pages to allow my cust to access the
database I need to set up a
> mysql connection in Dreamweaver. I have installed mysql
and php on my computer.
> I built a database w/ a simple table just to have to
test the connection.
> Anyway, when I try to connect thru Dreamweaver in the
database panel it gives
> me an unknown error. I cant figure out why! I thank any
one who can assist me
> w/this.
http://search.cc.yahoo.com/search?ui_mode=question&property=Yahoo%21+GeoCities&question_bo x=mysql+localhost%3F&Ask=Ask
Mick

Similar Messages

  • Dreamweaver not connecting to mysql?

    I have set up a database in MAMP which Dreamweaver was connected to and all worked fine. I have now copied that database in phpmyadmin via my hosting server and also uploaded all my files to my current (live) site and im now having connection problems, in the database panel in Dreamweaver there is a database present but no tables, when i open the mysql connection dialog box and try to select database or test it, it comes up with - 'unidentified error has occured'
    Does anyone have any idea where i have gone wrong?

    Ness_quick wrote:
    I have set up a database in MAMP which Dreamweaver was connected to and all worked fine. I have now copied that database in phpmyadmin via my hosting server and also uploaded all my files to my current (live) site and im now having connection problems, in the database panel in Dreamweaver there is a database present but no tables, when i open the mysql connection dialog box and try to select database or test it, it comes up with - 'unidentified error has occured'
    Does anyone have any idea where i have gone wrong?
    Humm..Im not sure why you are looking in the Dreamweaver database panel for something on the remote site?
    All you should have needed to do was export the database to a .sql file from your local copy of phpMyAdmin. Open the remote copy of phpMyAdmin and import it.

  • Can Dreamweaver CS5 connect to MySQL via ODBC?

    I am unable to make a direct connection to an external MySQL database because most hosting provider does not allow this type of connection due to security reasons. I am however able to make an ODBC connection to the database (which I am currently using to connect filemaker to our MySQL database).
    How can I tell Dreamweaver CS5 to connect via the ODBC driver so I can see the MySQL content in my Dreamweaver project?
    I am on a Mac running OS X 10.6.4.

    GeorgeRudd wrote:
    How can I tell Dreamweaver CS5 to connect via the ODBC driver so I can see the MySQL content in my Dreamweaver project?
    You can't - at least not if you want to use Dreamweaver's server behaviors. Dreamweaver uses the original PHP MySQL extension. If you want to connect in any other way, you need to hand code everything yourself.
    On the other hand, if you want to see the contents of your remote database in Dreamweaver, define your remote server as the testing server. Dreamweaver uploads a hidden folder to the remote server to connect to the database. Because the script is on your remote server, it's local to the MySQL database, so gets round the security issue. It then sends the details to your local computer.
    A better solution, though, is to establish a local testing environment. It's more responsive and much more secure. http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html.
    By the way, the failure to get a reply is due, in part, to posting your question in the wrong forum. The forum for issues related to PHP/MySQL and other server-side technologies is http://forums.adobe.com/community/dreamweaver/dreamweaver_development.

  • Connection error mysql database in Dreamweaver

    the error message is - HTTP error code 404 file not found. here are some possible reasons
    screen shot - http://netwizlk.site50.net/images/DW-error.jpg
    1)there is no testing server running on the server machine.
    2)the testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMhTTPDB.php verify that the URL prefix maps to the root of the site.
    guy pls help me to solve this problem. I tried several times to connect my mysql database with dreamweaver but ended up having this error I reinstalled dreamweaver cs4 and XAMPP still the error is not rectified my both remote and local files are stored in XAMPP server location called in c:\xampp\htdocs\htdocs\myweb
    anybody who could give me a speedy solution for this issue will be highly appreciated thanks alot guys.

    c:\xampp\htdocs\htdocs\myweb
    MM serverscripts must be at the root level of the virtual server, that is directly in the htdocs folder.
    Mylenium

  • Error occured when connect to MySql Databse in Dreamweaver

    Hello! I met a problem when connect to Mysql Databse in
    Dreamweaver
    Details:
    My Php Environment: Php 5.2.2+ MySql 5.0.4 + IIS 6.0 + DW IDE
    + WinXP SP2,
    All necessary sevice started(Actually I have never stopped
    any Windows service).
    Php installed (IIS + CGI) and tested successfully in DW
    MySql Installtion(Typical Install with extensions ) and
    configuration are both OK.
    Configuration Details:
    For configuration type, select Detailed Configuration.
    For server type, select Developer Machine
    For database usage, select Non-Transactional Database Only.
    For the number of concurrent connections, select Decision
    Support(DSS)/OLAP.
    For networking options, accept the default settings.
    For the default character set, accept the default setting.
    For the Windows options, select both options – Install
    As Windows Service, and Include Bin Directory in Windows Path.
    For security options, enter a root password and confirmed.
    And then I Created a database "mydb" with 3 tables inside by
    "MySql Command Line Client",
    ...... (Approach Obmit here)
    Open "MySql Command Line Client":
    Type >mysql Show Database mydb;
    Show a list with 3 tables(Created Successfully)
    Then In DW,
    Open my Php webpage,
    Then from Database Panel>MySql Connection,
    Connect Name:myconn
    Mysql Server:localhost
    Username:root (Right)
    Password:111111(Right)
    Database:mydb
    Click "OK", but when DW tried to connect to MySql database,
    then DW popuped an alert dialog says "HTTP Error Code 502 Bad
    Gateway",
    I don't know what this mean and how to solve this problem,
    hope any PHP and DW expert can help me, thank you very much.

    Phoenix Wang wrote:
    > Click "OK", but when DW try to connect to MySql
    database, then popup an alert
    > dialog says "HTTP Error Code 502 Bad Gateway",
    > I don't know what this mean and how to solve this
    problem, hope any PHP and DW
    > expert can help me, thank you very much.
    How have you set up the Testing server in your site
    definition?
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Cannot connect from dreamweaver cs5.5 to mysql using the mysql connection wizard

    Cannot connect from dreamweaver cs5.5 to mysql using the mysql connection wizard error Http error 403 or 500 internal server error. I am using ubuntu mysql.
    a manual php script work fine
    <?php
    // open connection to mysql server
    $dbc = mysql_connect('localhost','root','password');
    if (!$dbc) {
                die('Not Connected' . mysql_error ());
    //select database
    $db_selected = mysql_select_db ("msinventory",$dbc);
    if (!$db_selected)
            die('Cannot Connect' . mysql_error());
    echo "TEST DONE1";
    ?>
    but the database connection wizard fails with http error 403 or 500
    i also use the HeidiSQL client and it works, the only problem is in dreamweaver.

    OK.  Did you really mean to ask this question on a ColdFusion forum, if it's DreamWeaver you're having problems with?  You're probably better off raising this on a DreamWeaver forum.  "Using the correct tool for the job" 'n'all.
    Adam

  • Dreamweaver (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS..."

    I am evauating wether to purchase Dreamweaver CS6...
    Dreamweaver CS6 trial (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS (explicit encryption)".  I have a NEW Godaddy SSL certificate installed on the IIS server. 
    On connecting Dreamweaver states: "Server Certificate has expired or contains invalid data"
    I have tried:
    -ALL the Dreamweaver Server setup options
    -Using multiple certificates (tried 2048 bit and 4096 bit Godaddy SSL certificates)
    -Made sure the certificate 'issued to' domain name matches my domain name.
    I am able to connect no problem using Filezilla, with equivalent Filezilla setting "Require explicit FTP over TLS".  I can also connect fine using Microsoft Expression web. 

    Thanks for your prompt reply.
    My comments:
    1) You should update your tread (forums.adobe.com/thread/889530) to reflect that it still occurs on CS6 (I had already read it but figured it was an old tread and thus should be fixed by now). 
    2) You said “These warnings will also pop up for your users if you have a store saying the SSL certificate does not match the domain/ip and this can make users checking out in a storefront very nervous” .  This does not seem to be correct – my https pages display properly using the same Godaddy certificate … using IE:
    3) Godaddy is not my host (I use Amazon AWS) – but the SSL certificate is from them.

  • Connecting a MYSQL database in Dreamweaver

    Hi All,
    I'm tryting to connect a mysql database based locally and am getting the error:
    HTTP Error Code 404 File Not Found. Here are some possible reasons for the problem:
    1) There is no testing server running on the server machine.
    2) The testing server specified for this site does not map to the http://localhost/_mmServerScripts/MMHTTPDB.php. Verify that
    the URL Prefix maps to the root of the site.
    What does this mean?
    How do I start the testing server? I'm unable to locate the folder where the database files are stored as the database has been created locally on my machine.  Everything hace been created locally so I know that point 2) could well be irrelavant.
    Please can somebody help?
    Many Thanks
    Gordon

    The functions for connecting to a database were mostly deprecated.  But if you enable them in CS6 Cloud/CC then they will be the same.

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

  • Create Connection to MySQL database

    Has anyone figured out how to use the cPanel interface at goDaddy in conjunction with Dreamweaver to connect to a database? (They used to use Starfield where I would build my databases and connect to them, but that is all changed now.) Now I cannot even make a connection, although I have the IP address, my user name for the DB, the P/W, etc. Dreamweaver will return error messages like mmServerScripts/etc. is missing..
    I am guessing that I am not pointing to the DB correctly! In Dreamweaver,  using the mySQL connection dialog, I enter a connection name, the IP of the mySQL server, the user name of the DB and the P/W, and then hit Select to find the DB. Not working for me!
    Any help GREATLY appreciated!

    I don't know 'bout anybody else but I pronounce it my-es-cue-el-eye  or improved my-es-cue-el.
    Don't just assume anything.  You really need to know which versions of PHP and MySql you're working with otherwise you're just spinning your wheels.    If your host has upgraded to PHP 5.4, have a look at this MySqli for Beginners guide. 
    http://codular.com/php-mysqli
    More Resouces:
    PHP: Mysqli - Manual
    PHP: Connections - Manual
    Nancy O.

  • Connect to mysql DB (An unidentified error has occurred.) plz need help...

    I have been unable to create a database connection in dreamweaver to my MySql
    server.  Each time I receive the message "an unidentified error has occurred".
    I can use pure php code to create a connection successfully:
    <?php
    $username = "root";
    $password = "password";
    $hostname = "localhost";
    $dbh = mysql_connect($hostname, $username, $password)
    or die("Unable to connect to mysql");
    print "connected to mysql<br>";
    $selected = mysql_select_db("test",$dbh)
    or die("Could not select first_test");
    if (mysql_query("insert into test_table values('5')")) {
    print "successfully inserted record";
    else {
    print "Failed to insert record";
    mysql_close($dbh);
    ?>
    This works, I can successfully insert a record.  However, if I try and create
    a connection in Dreamweaver with these same variables, I receive the message
    "an unidentified error has occurred".  I have tried, deleting the _mm
    connection scripts folder and recreating them.  I have used the mx2004 updater,
    I have tried all document types...  nothing seems to work...
    i am using local server (phptraid)
    PHPTriad 2.2 contains the following changes:
    Updated packages for Apache(1.3.23), MySQL(3.23.48) and PHP(4.1.1).
    also using remote host at (www.0fees.net)
    last thing i would to say in my computer i success only one time to make connection in window 7 - dreamweaver cs4
    and i create this site mwlobby.0fees.net
    but now i downloaded dreamweaver cs5 and i need to install new windows
    so i need help
    any suggestions?

    Turn your iPhone to a DFU mode and restore it

  • Connecting to MySQL via DW after Leopard install

    I cannot connect to MySQL 5.041 through DW CS3 after
    upgrading to Leopard. MySQL Admin and MySQL Query Browser both can
    connect and make queries to the database. I just can't connect
    through Dreamweaver. I get the "MySQL Error#: 2002" error which
    states "Can't connect to local MySQL server through socket
    '/var/mysql/mysql.sock' (2). Problem is there is no such
    path.

    There may be an updated needed for dreamweaver, however, I
    did find some info about MySQL running on Leopard:
    http://bugs.mysql.com/bug.php?id=32019
    and some workarounds that I have not tested as being valid:
    http://angry-fly.com/index.cfm/2007/10/26/Fix-for-MySQL-on-Leopard

  • Connecting to MySQL in Dreamweaver8

    Hey guys i've got Dreamweaver8 and wamp5 installed, my
    problem is coming when i try to connect to MySQL through
    Dreamweaver. I've followed through all Adobe tutorials including
    the Blog tutorial but nothing seem to be working. My web server is
    working fine so is my database , i know this because i've tried to
    connect to the database using PHP command and it's working fine.
    This is how i've defined my web site:
    Local Info:
    Website Name: MyWebSite
    URL:
    http://localhost/MyWebSite
    Server Technology: PHP MySQL
    How do you want to work with your files during development:
    Edit and test locally(my testing server is on this computer.
    Where on your computer do you want to store your files?
    C:\wamp\www\MyWebSite
    What URL would you use to browse to the root of your site?
    http://localhost/MyWebSite
    Copy to another machine: No
    For Remote info Access i've put None.
    NB Basic Site Definition
    Please tell me where i'm getting it wrong because when i try
    to make the connection, i believe my snag is at the testing server
    but i've tried various paths.
    Connection Name: Myconn
    MySQL Server: localhost
    User: Username
    Password: mypassword
    When i try to select the database i'm getting the
    unidentified error message 404 which suggests possible causes of
    connection failure to paths etc.
    Please help me i've worked the whole week hoping for a
    breakthrough and have tried all sorts of different techniques
    suggested by others on forums and websites to no avail.
    Does dreamweaver have limitations with PHP/MySQL or is there
    something that i'm missing.
    Ramson

    RamsTheDon wrote:
    > Thanks David for the suggestions, I think i can almost
    rule the firewall out as i've disabled it, that leaves the wamp
    port.
    > How do i tell wamp5 to use port 3306? I'm kinda novice.
    I don't know. I have never used wamp5. I install Apache, PHP,
    and MySQL
    independently. A lot of the so-called "simple all-in-one
    solutions" have
    non-standard settings, so you need to ask in a wamp5 support
    area.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • No one seems to have an answer - connect to MYSQL

    I have tried numerous forums and searching the internet but no one seems to be able to help.   I am just starting to build my site.  I was able upload my pages to the site.   I created a PHP page so I could create a form and connect it to a mysql database.   After I created the php code I clicked on databases so I could connect to my database.   I can't connect.   I did the remote server on CPanal.   Everything on cpanal looks good.   In dreamweaver databases - mysql connection i  I am prompted for connection name, mysql server, username, password and database name.   I know the user name, password and database name are correct.   For mysql server i actually enter the server numbers per my host.  Connection name I don't think would impact anything.    When I click test I get an unidentified error.   It's doesn't appear it is connecting.   I have tried everything.  Anythoughts?   Who ever solves is this a hero

    There is one very plain reason why you cannot connect to your database and that is because you have not issued the right instructions.
    Normally DW creates a connect to database file in a subfolder called Connections.
    The type of file that connects to the database will depend on the serverside code that you are using. On a PHP platform the database connection file will look like
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_safeshop = "localhost";
    $database_safeshop = "myData_db";
    $username_safeshop = "root";
    $password_safeshop = "myPassword";
    $safeshop = mysql_pconnect($hostname_myData, $username_myData, $password_myData) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    If your site does not have the above then you will have Buckley's (Buckley's and Nunn) chance of getting your connection.
    Before going any further, please read http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html by David Powers.
    I hope this helps.
    Ben

  • 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

  • Editing an SWF or FLA file

    I have both the FLA and SWF files for a website template I bought. I am trying to edit the file in Flash CS4 using the following instructions. But I never see any of this code - all I get are errors and the Movie timeline. How do I get to the code to

  • How to takes effect immediately, after change or cancel the last deploy

    If I deployed a software, but I found the program property was wrong, purpose is set to "required". A lot of client were pushed this software, so I change the purpose to "available". How to make all client take effect immediately? Environment: SCCM 2

  • Assistance discovering EOL devices

    Short of researching each model (we have over 100 unique models and over 5000 devices) what's best way to find EOL devices/software in my environment? Is there a master EOL list available?

  • I have an iPhone 5 and it shuts of with 50% battery life left.

    SO......It shows the low battery icon when I try to reboot it.  It won't turn on unless I plug it in, and when it finally turns back on, I still have 50% battery life.  What's going on here???  I called Apple and they ran a diagnostic test and "found

  • Implementation of Class Loader

    i use resource bundle to load values in the properties object instead i have to use class loader ,how can i use the same