Connecting to a MySQL Database

I just installed the XAMPP control panal that gives me the graphic user interface for Mysql server.
I'm trying to connect Dreamweaver to a database I created on my local server using XAMPP.
In Dreamweaver when I try to connect to the mysql server (and create a new database from within dreamweaver), I get an error message in a dialog box saying:
     HTTP Error code 404 file not found. Here are some possible reasons for the problem:
          1) There is no testing server running on this machine.
          2) The testing server specified for this site does not map to the http://localhost/_mmserverscripts/MMHTTPDB.php URL. Verify that the URL prefix maps to the root of the site.   
I'm sure number 1 is taken care of because of the XAMPP, but I honestly can't figure out what the heck number 2 is trying to say... I've looked through the XAMPP root folder for the _mmserverscripts/MMHTTPDB.php but I have no idea what i'm doing or where I'm doing it with this error.
I've consulted a search through the forums for this problem and I've been following the dreamweaver support manuals.
This stumps me.
Can anyone please help?

Use the following tutorial to help you define your PHP site correctly in Dreamweaver: http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html.

Similar Messages

  • Connecting to a Mysql database using CF Administrator and DW

    I can't create a mysql datasource in CF Administrator.
    If I use the following datasource settings in CF
    Administrator:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Drive Class: MySQL Connector J
    AND (note the emphasis) I set my local and remote folders in
    my DW site local folder, remote folder and testing server folders
    all to C:\CFusionMX\db\, I can connect to my mysql database in CF
    Administrator.
    However, with these DW site folder settings, DW doesn't
    recognize any databases (Access or Mysql) at all.
    When I change my DW site folder settings to 'wwwroot'
    (e.g.local folder C:\CFusionMX\db\' is changed to
    'C:\CFusionMX\wwwroot') DW now lists all my CF Administrator
    databases.
    The problem is CF Administrator can't connect to my Mysql
    data sources. It gives me the error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    I've tried changing the 3306 port to 8500, but this doesn't
    help.
    My java path and connector file is:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar,
    Is this a ID/password problem? I've tried both 'root' and
    leaving the ID field in the CF Administrator add data source block,
    both to no avail. I don't have a password set in Mysql for 'root'
    either.
    Any help would be gratefully appreciated. I've been working
    on this for weeks and keep running into one problem after another.
    Thanks a million in advance.
    Sincerely,
    Graham A. Kerby

    1) ensure mysql server is running
    2) there are numerous tutorials for mysql installation out
    there
    3) there are good free mysql admin tools out there
    4) use both the above to verify your mysql installation is
    correct
    5) please tell me you do have your zonealarm DISABLED
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Connecting to a Mysql database using a ColdFusion server

    can't create a mysql datasource in CF Administrator.
    If I use the following datasource settings in CF
    Administrator:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Drive Class: MySQL Connector J
    AND (note the emphasis) I set my local and remote folders in
    my DW site local folder, remote folder and testing server folders
    all to C:\CFusionMX\db\, I can connect to my mysql database in CF
    Administrator.
    However, with these DW site folder settings, DW doesn't
    recognize any databases (Access or Mysql) at all.
    When I change my DW site folder settings to 'wwwroot'
    (e.g.local folder C:\CFusionMX\db\' is changed to
    'C:\CFusionMX\wwwroot') DW now lists all my CF Administrator
    databases.
    The problem is CF Administrator can't connect to my Mysql
    data sources. It gives me the error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    I've tried changing the 3306 port to 8500, but this doesn't
    help.
    My java path and connector file is:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar,
    Is this a ID/password problem? I've tried both 'root' and
    leaving the ID field in the CF Administrator add data source block,
    both to no avail. I don't have a password set in Mysql for 'root'
    either.
    Any help would be gratefully appreciated. I've been working
    on this for weeks and keep running into one problem after another.
    Thanks a million in advance.
    Sincerely,
    Graham A. Kerby

    If it were me I would use the MySQL JDBC driver and not ODBC. Then DSN versus not-DSN wouldn't be an issue.

  • Can't Connect to the Mysql Database using J2SE jdk1.5

    Can anyone tell me why this error occurs ????????????????????
    Following are the codes ;
    package dbconnect2;
    import java.sql.*;
    public class dbconn2 {
    public static final String URL =
    "jdbc:mysql://localhost:3306/test";
    public static final String USERNAME = "test";
    public static final String PASSWORD = "password";
    * @param args the command line arguments
    public static void main(String[] args) throws Exception {
    // TODO code application logic here
    Connection connection = null;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    connection = DriverManager.getConnection(URL,
    USERNAME, PASSWORD);
    Statement stm = connection.createStatement();
    ResultSet rs = stm.executeQuery("select * from emp");
    while (rs.next())
    String strnaam = rs.getString("emp_name");
    System.out.println(strnaam);
    finally {
    if (connection != null)
    connection.close();
    ================================================================================
    This is the run time error ;
    init:
    deps-jar:
    compile:
    run:
    Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at dbconnect2.dbconn2.main(dbconn2.java:39)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    please help me to sort this out
    Thanks
    Sishani

    I've solved the DW problem by changing the site folders from
    'db' to 'wwwroot' e.g. 'C:\CFusionMX\db\' is now
    'C:\CFusionMX\wwwroot\
    However I'm now back to my original problem. I've lost my
    mqysql connection in CF Adminstrator. Before I made these changes I
    could connect to my mysql databases using the following settings:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Driver Name: MySQL Connector J
    using the following Java path and file:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar
    Now these settings give me the following error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    Any suggestions on this would also be welcome.
    Thanks again to everyone for their help.
    Sincerely,
    Graham A. Kerby

  • How to connect to a MySQL database in another server

    Dear friends,
    I am using Oracle SQL Developer 1.5.3 and I need to connect to a MySQL database located in another server.
    I am trying to create a new connection, informing connection name, username and password. Supposing that "Hostname" is the IP server address, I click on "Choose database", but I always receive the following error message: "Status : Failure - Cannot connect to MySQL server".
    Please tell me what I should do to solve this situation. Thanks in advance.
    Best regards,
    Franklin

    You need to configure your mysql database to accept connection from your PC for the user you used.
    For example,
    GRANT ALL ON *.* TO 'someuser'@'somehost';
    FLUSH PRIVILEGES;

  • PHP Connection to a MySQL database "An unidentified err has occurred"

    This is driving me up the wall.... With my hosting provider
    at work I cannot make a connection to a MySQL database with
    dreamweaver using the new connection in the databases tab. "an
    unidentified error has occurred"
    I am certain that I am entering the info correctly and have
    the correct permissions to access the database, I think it has to
    do with the _mmServerScripts folder and the testing server.
    With the hosting provider that I use for personal websites I
    make connections all day long doing the exact same thing that I am
    doing here at work and I'm stumped. I even read a lenghty article
    on this forum with possible solutions... none of them worked.
    Is there any way around the _mmServerScripts directory and
    testing server to make a connection and then use the bindings and
    server behaviors tabs to creat recordsets, etc??
    Thanks in advance for any help!
    George

    o0knightro wrote:
    > Is there any way around the _mmServerScripts directory
    and testing server to
    > make a connection and then use the bindings and server
    behaviors tabs to creat
    > recordsets, etc??
    Not if you want to use Dreamweaver server behaviors, no. The
    usual
    meaning of "an unidentified error has occurred" is failure to
    connect
    because communication is blocked by a firewall.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Can APEX/ORACLE connect to a mysql database?

    Hi
    Just wondered whether APEX and ORACLE could connect to mysql database. I may have a requirement to link to a mysql database and retrieve the data and wondered if APEX could do this.
    Thanks

    Hi
    Apex sits within the Oracle database. Oracle can connect to a mysql database via a database link so yes this is certainly possible. We connect extensively to an Informix database here actually. This is really an oracle question though so you just need to look in the documentation for the CREATE DATABASE LINK command and for setting up the actual connection.
    If you need more help let me know.
    Cheers
    Ben

  • Connect to a mysql database with Oracle 9i

    Hello,
    how can I connect to a non_oracle-database in "Oracle 9i".
    I created a ODBC data source. In Oracle8 I needed OCA. But in 9i I believe the OCA is replaced by another thing.
    I wanted to connect in SQL*PLUS with:
    username/password@odbc:mysql
    But I get the error: ora-03121 "no interface driver connected - function not performed".
    How can I connect to another database?

    I've solved the DW problem by changing the site folders from
    'db' to 'wwwroot' e.g. 'C:\CFusionMX\db\' is now
    'C:\CFusionMX\wwwroot\
    However I'm now back to my original problem. I've lost my
    mqysql connection in CF Adminstrator. Before I made these changes I
    could connect to my mysql databases using the following settings:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Driver Name: MySQL Connector J
    using the following Java path and file:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar
    Now these settings give me the following error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    Any suggestions on this would also be welcome.
    Thanks again to everyone for their help.
    Sincerely,
    Graham A. Kerby

  • How do I connect to a mysql database?

    I am trying to write a small program with Java to do some operation on a Mysql database. The first step is to connect to the database. Can anybody give me some information about how to connect to it with JDBC? Thank you in advance!

    // SQL jdbc driver
    String SQLDriver = "com.mysql.jdbc.Driver";
    // SQL connection string
    String SQLConnectionString = "jdbc:mysql://localhost/passport?user=root&password=your_MYSQL_Password";
    // Load database driver
    Class.forName(connectionDriver);
    // Make connection
    Connection sqlconn = DriverManager.getConnection(connectionString);rykk

  • Need help connecting a remote MySql database from Iphone

    Hi, i need to connect to a remote MySql DataBase in windows from IPhone but..... i'm a noob with Xcode and Objective-C.
    Can someone help me or explain me the way to do it plz?
    Message was edited by: Krovax87
    Message was edited by: Krovax87

    I do not think MCPKit will help you on the iPhone. It is just an Objective-C wrapper around the standard mysql libraries which are not available for the iPhone. Your best bet would be to post on the mysql forums and see if you can get any help.
    You can try extracting the mysql client library source code into a separate static library project, and see if you can get it to build for the iPhone.

  • Phpmyadmin connection issue with mysql database on local computer

    Got mysql and phpmyadmin installed on my iMac. I open phpmyadmin site in safari and try to login to the database and I get the following error:
    "Safari can’t open the page “http://imac.local/phpMyAdmin/index.php?lang=en-utf-8&token=872752b265e4d375dddae b18d06bd85b” because the server unexpectedly dropped the connection, which sometimes occurs when the server is busy. You might be able to open the page later."
    I can connect to the sql database okay from the mysql manager gui just fine. Any suggestions?

    Hi David-
    Thank you for your QUICK and CORRECT reply!  Yes, creating the _mmServerScripts folder in my SSL folder on my remote server did the trick!!
    I did try to setup a testing server using one of your tutorials, but I received FTP errors.  Since I have a working website with remote and testing flagged on the same server and for my ease of understanding, I copied the setup as closely as I could (less the SSL add-on).  Mind you, I originally setup that website 3 years ago, so I'm a bit rusty.  I'm not a web developer and don't do this for a living, thus I get by with instructions from the books I own, web tutorials, Adobe forums, etc., but I have not taken any classes.  It's not my choice to work with PHP, but I have to in order to pull data from database tables into my web pages.  Since I don't do this for paying customers, I don't have to setup anything too fancy (thank goodness).  I would like to know how to debug and write java script code, but I lack the time and patience (mostly patience).
    Besides...Adobe does such a good job with their products, that I can get by pretty well without having to know everything.
    Again, THANK YOU!!!
    PS- Would you mind replacing my root site info above with the following:  www.sitename.com/ssl/

  • Creating a connection to a mysql database

    New to CQ5.
    Version: CQ5_5
    Running a local instance on my desktop.
    Trying to connect to localhost:3306 mysql database
    I downloaded the mysql driver and used the instructions here to create and build an OSGI bundle.
    http://cq-ops.tumblr.com/post/21893960212/how-to-turn-a-jdbc-driver-jar-into-an-osgi-bundl e-jar
    Next, I followed instructions here to create a osgiconfig node, populate it and update my component jsp accordingly.
    http://dev.day.com/docs/en/cq/current/developing/jdbc.html?cq_ck=1362183869402#comments-nf fb-unsuccessfullyspent
    On my page - I see the error message
    No data source found with name 'testdb' (after asking 0 providers)
    Any likely gotchas that I might be missing?
    If you have got it working and can just describe the steps you used, I could give that a try too.
    Any pointers are welcome.
    Thanks,

    Hi Andrew,
    check out this <a href="http://developers.sun.com/product/jdbc/drivers">site</a>, maybe you find a suitable driver there? The SAP Press and Helpfiles say, that connecting to a microsoft SQL Database is possible.
    In our portal I found a MSsql jdbc driver installed, with sucessful connection test to northwind-database. Unfortunately, I cannot find out what driver we used.
    If you still don't find a driver, I will ask my colleague if he remembers.
    Best Regards, Benni
    Message was edited: Sorry, I meant MSsql, not mysql. We have a MSSQL-JDBC-System defined, with working connection.

  • Problem creating connection pool to mysql database

    Please, do not ignore this message and help me, if you have any Idea
    I have Sun Java System Application Server 8.1 installed on my computer, I installed also MySQL Connector/J to access MySql Databases through JDBC
    But now when I try to create new connection pool, an error comes:
    Following parameter were used:
    Name: MYSQL1
    Resource Type: javax.sql.XADataSource
    Database Vendor: mysql
    Datasource Classname: com.mysql.jdbc.Driver
    serverName 192.168.0.152
    port 3306
    networkProtocol
    user testuser
    password ***
    databaseName test
    datasourceName
    After saving and then klicking on Ping button, following error comes: "An error has occurred.
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: com.mysql.jdbc.Driver"
    I checked the logs of MySql, there was no attempt to access given Database or MYSQL-server at all
    What Am I doing wrong? How can I create MySql connection under Sun Java System Application Server 8.1?
    Any help will be appreciated

    The driver is in right place
    Originally I placed him in wrong directory and got an error, indicationg, that Driver class is not found, but then I corrected it, The problem is in connection to database - it doesn't work.
    I tired to load the same driver into Netbeans and could easyli create a connection to database, but I get it not working ander Sun Application server

  • Connecting to multiple mysql databases......

    hi everyone,
    I had some question, if I'm connected to more than one mySQL database, and I want to create such a table at specified database, what syntax should I write at the executeUpdate() statment ?
    thanx
    --------

    hi everyone,
    I had some question, if I'm connected to more than
    one mySQL database, and I want to create such a table
    at specified database, what syntax should I write at
    the executeUpdate() statment ?
    thanx
    --------The only way this question means anything not completely ridiculous is if you are asking the following.
    Your MySQL server is hosting several databases and you want to specify which one in your query.
    Yes you can do this but I don't think I would highly recommend it. The syntax is as follows.
    Creating a table called mytable in a database called testing
    CREATE TABLE testing.mytable  (firstname VARCHAR(20) NOT NULL,
       lastname VARCHAR(20) NOT NULL,
          PRIMARY KEY(firstname,lastname));Basically DATABASENAME.TABLENAME

  • Problems with UD Connect to a MySQL database

    Hi SAP BI experts,
    I am trying to extract data from a table in a mysql Database to SAP BI 7 using UD Connect. I have followed the instructions at http://www.bi-expertonline.com/downloads/Schroeder0604.doc . However, I get an error as soon as I try to create a UD Connect Data Source to an InfoSource using "Create BW DataSource with UDConnect" from the Extras menu. I can set up the RFC destination as well as the UD connect source. Regarding the UD Connect source object I get an error message "RSSDK|100|Connection could not be established". I already checked if my settings in the connector container service of the Visual Administrator are correct. They are. I have tried to access the data using a simple java programme and it worked fine. My configuration properties are:
    DriverName       com.mysql.jdbc.driver
    Password         xxxxxxxxxx
    URL                 jdbc:mysql://brainsapgw:3306/bi_test
    UserName        sap
    Does anyone have some hints for me what could have gone wrong with it? As far as I can see, the properties should be fine as they work with a normal java programme.
    Thanks in advance
    Martin

    Hi SAP experts,
    it's now working. The problem was that I provided "com.mysql.jdbc.driver" as Driver Name instead of "com.mysql.jdbc.Driver".
    Cheers
    Martin

Maybe you are looking for

  • SAP ERP 2005 SR 2 IDES installation error in step "Run ABAP Reports"

    Hello, I'm installing SAP ERP 2005 SR 2 IDES on Win2003 R2 SP2 and Oracle 10.2 to create a test-system for my diploma thesis. During the step "Import ABAP" I got the following message: object_checker.log ERROR: 2008-05-21 20:50:38 1 objects have erro

  • Problem starting iMac on Yosemite

    Hi, yesterday I installed Yosemite on my iMac 2.7 GHz Intel Core i5. All was well yesterday, turned the mac off last night and back on again this morning to be presented with a white screen, Apple logo and a loading bar which gets to about a third of

  • Receiver and Interface Determination, Sender and Receiver Agreement

    Hi Experts, Could you please tell me, what Receiver Determination, Interface Determination, Sender Agreement and Receiver Agreement we have to use for the below blog. https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken

  • Show 2 line graphs together in Line bar combo graph

    Hi, I am currently working on to show data for 2 years (which will be selected through prompt), month on month basis in Line-Bar Combo Graph. I could achieve to show 2 years of data month on month basis in Bar Diagram, but the same is not happening f

  • Error message while installing 4.7 IDES

    Hi, we are trying to install sap4.7 sr1 extn set2 on windows 2003 with oralce 9i. when we are trying to run the central instance installation, it was throwing the error SAPMMC.dll is missing. even we have copied the sapmmc.dll file in \windows\system