Mysql connection with 1and1.co.uk

I am trying to establish a connection with a mysql database at 1and1.co.uk but the connection cannot be established.  I have checked the login details with 1and1 and they have suggested I contact Adobe.  I am a 'design' interface user of Dreamweaver - I don't know code, so any simple suggestions would be gratefully received!

PBrackett12 wrote:
Ok, I think I did what I was supposed to do - although I got a bit lost.  But the result was the following when I uploaded it:  Parse error: syntax error, unexpected '=' in /homepages/41/d259550773/htdocs/oakfieldstables/login.php on line 6
For the sake of clarity I've provided the code:
<!-- <?php require_once('Connections/Testserver.php'); ?> -->
<?php
$hostname="dbXXXX.db.1and1.com";
$database_conTestserver.php = "dbXXXX";
$username="dboXXXX";
$password="XXXX";
$link = mysql_connect($hostname, $username, $password);
if (!$link) {
die('Connection failed: ' . mysql_error());
else{
echo "Connection to MySQL server " .$hostname . " successful!
" . PHP_EOL;
$db_selected = mysql_select_db("dbXXXX", $link);
if (!$db_selected) {
die ('Can\'t select database: ' . mysql_error());
mysql_close($link);
The $database_con variable looks incorrect
Open up the Testserver.php in the Connections folder and look for the $database_con line. I doubt it will have .php appended to it?
It will be like the below, right?
$database_conTestserver = "dbXXXX";
Amend the line in the block of php connection code and see what happens.

Similar Messages

  • MySQL problem with 1and1 hosting

    I have just discovered this group.  I posted a similar post in the Dreamweaver area, but it probably needs to
    be here.
    I was asked to add database functionality to a website hosted by 1and1.  I just started to use DW CS5
    recently and when I tried to connect the MySQL db using Dreamweaver, I got the 404 file not found error
    message.  It has been a while since I have worked with PHP and MySQL, but I have used MySQL many times in the
    past using DW CS4 and using 1and1, so I know that it used to be possible.
    Here is what I have done so far:
    Tried to connect using DS CS5.  Tried to connect using DW CS4.  I contacted 1and1 and they told me that they
    no longer allow MySQL to connect using Dreamweaver.  However, they sell DWCS4 software to be used with their
    higher end hosting packages (which I am using).
    Here are my questions:
    1) Is this a known problem with 1and1?  If so, is the DW that they sell altered to get around this?
    2) Is this how other hosting companies are going, or is this only true of 1and1?

    RobertBoy wrote:
    Tried to connect using DS CS5.  Tried to connect using DW CS4.  I contacted 1and1 and they told me that they
    no longer allow MySQL to connect using Dreamweaver.
    This means that they disabled remote access to their MySQL server for security reasons, meaning that you´ll have to...
    1. set up a local testing server (eg. MAMP, XAMPP) and develop/test your work locally
    2. upload the finalized files to the remote server and run them from there.
    If so, is the DW that they sell altered to get around this?
    Unlikely, because the product EULA declares a "No Modification" restriction.
    Is this how other hosting companies are going, or is this only true of 1and1?
    This is not uncommon with shared hostings in particular, though there may be some which allow remote access. Let´s hope that other forum participants can provide recommendations.

  • MySql connection with EJB2 project

    Hi Experts,
    I’m new in net weaver. I developed a CMP bean using EJB2 project. Now I want to connect with a table which has in MySql database. In net weaver MAXDB,ORACLE etc… options are there, but MySql is not there. So pls help me for connecting MySql.
    Thanks in Advance
    Toji.

    Hi Toji,
    I am not sure you can achieve a Container Managed Persistence if the target database is on some other machine and especially for MySQL, since SAP has their own proprietary database called MaxDB which is also a free product from MySQL AB using which we cannot even achieve a Container Managed Persistence if it installed on another machine.
    But you can achieve a Bean Managed Persistence for handling data in the MySQL database.For this,
    1) First of all, based on the version of the MySQL you will have to download the appropriate JDBC driver for MySQL.
    2) You will have to create an entry for the MySQL JDBC driver through Visual Administrator(access it from <Drive>:\usr\sap\<System ID>\JC<Instance Number>\j2ee\admin\go.bat  in the case of windows system).Here while creating the entry you will have to upload the downloaded JDBC driver.For this after login on to the Visual Administrator using the user with admin right, you will have to navigate upto,
                 Server->Services->JDBC Connector.
    3) You will have to create one Data Source. Here you will have to mention the application name , Data Source name, Driver Name( u have to select the earlier created Driver here) , Alias name, JDBC Version, Drive class, Database URL , Username and Password.
    The Driver name and Database URL u will have to mention like this.
    Driver Name -> com.mysql.jdbc.Driver
    URL            -> jdbc:mysql://<database name>
    4) In the BMP bean, you can look up the datasource like,
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/<DataSource Alias Name mentioned while creating datasource in Visual Administrator>");
    Using this DataSource instance, you can create connection and execute queries.
    Just refer this help for getting knowledge on Driver creation and DataSource creation for MaxDB.
    http://help.sap.com/saphelp_nw04s/helpdata/en/42/073e1d0ab7540fe10000000a114cbd/content.htm
    Regards,
    Kishor Gopinathan

  • MySQL connection with OWB 11gR2 results in "access denied for user"

    Hello,
    I just try to establish a connection to a MySQL database with OWB 11gR2, but I always get the error "access denied for user...". I did the things written on [http://blogs.oracle.com/warehousebuilder/2010/01/owb_11gr2_mysql_open_connectivity.html] and I also used the platform configuration from this description. Newest JDBC driver was downloaded and I put the jar-file into the folder OWB_HOME/owb/lib/ext. The definition of the MySQL platform worked and the entry "MySQL" was created in OWB, but no connection can be established. I also tried other tools like MySQL Administrator in order to find out whether the problem is caused by network configuration or sth. like that, but with this tool the connection works.
    OWB is installed on OpenSuse 11.1 64bit. Does anyone know why this error occurs? Perhaps I missed some configuration tasks, which I don't know so far?
    I'm looking forward to your answers.
    Greetings
    Joerg

    Hi David,
    thank you for your reply. The corresponding user has already got this host setting. Anyway he got the wildcard '%' and with other tools I can connect.
    I solved the problem now due to just trying around with usernames. The error was quite funny: OWB changes the username always into upper case and MySQL cannot handle this username. The username must match 100% to be able to login.
    Now I just changed the user in MySQL and wrote the username in upper case. But in fact I would like to know if it is possible to avoid that OWB changes the username, with quotes it didn't work ;-)
    Greetings
    Joerg
    UPDATE:
    Now I'm facing another problem: the connection works, but I cannot import any metadata. When I click on "Browse" to select the correct schema in MySQL DB, no result is displayed. The user anyway has go the privileges to select data from this schema. I also tried to provide the user with every possible privileges for this schema, but I still cannot select any schema. When I write the schema manually and then try to import database objects iin OWB the error message "definitions of userdefined metadata interface are invalid" is displayed (translated from german, so the wording could be different). Does anybody have an idea what the problem could be?
    Edited by: Scantid on 15.01.2010 00:41

  • MySQL connection with CFMX

    i'm using CFMX , mysql 5.0 , mysql-connector-java-3.1.13
    how do i set the connection...
    1) do i need to add the driver into the ODBC ?
    2) do i need to set the COLD FUSION ADMINISTRATOR ? how to
    set?
    3) i had try to unzip the mysql connecter then paste into the
    C:\CFusionMX7\wwwroot\WEB-INF\lib is it correct?
    4) how can get some solution here.
    tjx

    I came across this older post. I have the same problem. I
    have followed the instruction, and tried different versions of the
    driver, but the error still comes up when I try to connect through
    CFMX7:
    "Connection verification failed for data source: MySQL_test
    java.sql.SQLException: No suitable driver available for
    MySQL_test, please check the driver setting in resources file,
    error: null
    The root cause was that: java.sql.SQLException: No suitable
    driver available for MySQL_test, please check the driver setting in
    resources file, error: null"
    If I can add any additional information so that someone can
    help me diagnose the problem, please let me know.

  • Mysql connection with JDBC

    I have followed the advice given here for several
    other people and have successfully set up a connection
    to a MySQL database. I can successfully test the
    database connection from the Connection Wizard.
    However, I am having trouble accessing this same
    connection from my code. When executing the following
    piece of code:
    try
              Class.forName("org.gjt.mm.mysql.Driver");
    I get a ClassNotFoundException.
    The advice in the JDeveloper "help" is not that clear.
    I have tried registering this driver with the project,
    by configuring the connection as a library and adding
    this library into the "Project Settings". I've also
    added in the database connection in Tools->Preferences.
    Finally, I've tried using File->Import->Existing Sources
    and choosing the library I created for the mysql Jar
    file. None of this works... am I following the correct
    procedure, or is there something I've missed?

    the mysql jdbc driver : org.mm.mysql.Driver (you can find it on www.gjt.org)
    the url : jdbc:mysql://host:port/dbname
    obtain a connexion:
    Class.forName("org.mm.mysql.Driver");
    Connection conn = DriverManager.getConnection(url, "username", "password");

  • Php mysql connect with yahoo

    I HAVE HOST ON YAHOO AND THIS SCRIPT DOSN'T WORK WITH YAHOO
    can u help me ....
    <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_midcommerce = "localhost";
    $database_midcommerce = "DATABASE";
    $username_midcommerce = "USER";
    $password_midcommerce = "PASSWORD";
    $midcommerce = mysql_pconnect($hostname_DATABASE,
    $username_DATABASE, $password_DATABASE) or
    trigger_error(mysql_error(),E_USER_ERROR);
    ?>

    Hung Kuen Kung Fu wrote:
    > MYSQL is not listed under the phpinfo page. MMM. Not
    sure how to enable this in the php.ini so i will have to look.
    Remove the semicolon from the beginning of these lines in the
    Windows
    extensions section:
    ;extension=php_mbstring.dll
    ;extension=php_mysql.dll
    Also add this line after them:
    extension=php_mysqli.dll
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • MySQL Connectivity with Java

    I amusing Connector/j 3.0 for jdbc through MySQL.
    I am also using "org.gjt.mm.mysql.Driver"
    Please suggest how to set the classpath/path for mysql driver and where to put the driver,
    Please suggest with all configuration details.........

    http://www.dynamic-apps.com/tutorials/classpath.jsp

  • Mysql connection with flex

    how can i build a simple and add cart application with flex
    and mysql ineed step by step instruction. in ur smaples u defind
    some server path which one i need to edit for my application . and
    one more how can i uplode all these files to my server

    mysql part you still need to do on server side with whatever
    scripting language you have on server, you can actually use
    RealBasic to make it as CGI for multiple platforms....

  • MySQL Connection with JDeveloper

    Hi,
    How can i retrieve records from MySQL database in JDeveloper. Is it possible to access database through Java code?
    Thanks

    HI,
    Check following will useful
    http://www.oracle.com/technetwork/developer-tools/jdev/mysql-and-bc-howto-082060.html

  • Problem in establishing connection with mysql 5.0

    Hi,
    I am using JCAPS 5.1. I tried to insert data to mysql database table.
    But i got following error
    java.sql.SQLException: Error in allocating a connection. Cause:
    Physical Connection doesn't exist.
    My intention is to read file in which data are comma seperated and to
    populate those values to a mysql 5.0 database table.
    Sample DATA in file [test.txt]
    111,gg,23,MFG
    112,hh,24,MFG
    113,ii,25,RETAIL
    114,jj,26,IT
    Database table: employee
    eno,ename,eage,edept
    While creating JDBC OTD there is no problem in establishing connection with database. But after deploying i got above error.
    I have used Mysql 5.0 Connector/J JDBC driver. Added JDBC driver jar files to following directories as required.
    1) C:\JavaCAPS51\logicalhost\is\lib
    2)C:\JavaCAPS51\logicalhost\is\domains\test\lib
    Steps i have followed as per JDBC-ODBC -eway user guide doc.
    1) Created USerDefined OTD and added necessary fields
    2) Created JDBC OTD.
    3) Created JAVA collaboration and do business process for inserting
    4) Mapped all components by creating in Connectivity MAp
    5) created necessary external systems in envrionment explorer.[JDBC External System and File External System]
    6)Created Deployment profile
    5) Deployed it.
    After deploying it gives error as
    java.sql.SQLException: Error in allocating a connection. Cause: Physical Connection doesn't exist
    Please let me know the solution for problem.
    Message was edited by:
    VenkateshSampoornam

    In the environment definition,
    -> External Application JDBC
    -> Properties
    -> Outbound JDBC Connection
    You have the database URL in the "DriverProperties" field
    Valid URL would be : jdbc:mysql://localhost:3306/caps
    !! The doc says that this field is optional !! Seems to be an error in the doc:
    Hope this helps
    Seb

  • Could not create pool connection with MySql

    When starting weblogic server I obtain the following error message when the conection
    pool for a MySql database should be established. What's the mistake I am doing? #The
    examples in the weblogic.properties put a "server=DEMO to the props. What is this
    server related to the MySql RDBMS? Is it mandatory? After the error message produced
    by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
    Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
    weblogic.jdbc.common.internal.JdbcStartup
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
    with:
    {aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
    url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
    9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
    Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
    tPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Invalid authorization specification: Access denied for user:
    du-it@blizzard' (Using password: YES)
    at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
    at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
    at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:146)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:154)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:124)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    MySql:
    #This File was made using the WinMySQLAdmin 1.4 Tool
    #29.04.2002 14:46:57
    #Uncomment or Add only the keys that you know how works.
    #Read the MySQL Manual for instructions
    [mysqld]
    basedir=D:/db/mysql
    #bind-address=169.254.102.136
    datadir=D:/db/mysql/data
    #anguage=D:/db/mysql/share/german
    #slow query log#=
    #tmpdir#=
    port=3306
    #set-variable=key_buffer=16M
    [WinMySQLadmin]
    Server=D:/db/mysql/bin/mysqld-nt.exe
    user=du-it
    password=du-it

    When starting weblogic server I obtain the following error message when the conection
    pool for a MySql database should be established. What's the mistake I am doing? #The
    examples in the weblogic.properties put a "server=DEMO to the props. What is this
    server related to the MySql RDBMS? Is it mandatory? After the error message produced
    by Weblogic you'll find some information about the MySql setup (my.ini) I have made.
    Mi Mai 01 01:33:50 CEST 2002:<I> <WebLogicServer> Invoking main-style startup weblogic.jdbc.common.internal.JdbcStartup
    weblogic.jdbc.common.internal.JdbcStartup
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Creating connection pool ejbTestPool
    with:
    {aclName=weblogic.jdbc.connectionPool.ejbTestPool, maxCapacity=2, initialCapacity=1,
    url=jdbc:mysql://Blizzard:3306/ejbTest, props=user=du-it;password=du-it;server=3.23.4
    9-nt, capacityIncrement=1, driver=org.gjt.mm.mysql.Driver, poolName=ejbTestPool}
    Mi Mai 01 01:33:50 CEST 2002:<I> <JDBC Pool> Sleeping in createResource()
    Mi Mai 01 01:33:51 CEST 2002:<E> <JDBC Pool> Failed to create connection pool "ejbTes
    tPool"
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Invalid authorization specification: Access denied for user:
    du-it@blizzard' (Using password: YES)
    at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:278)
    at org.gjt.mm.mysql.Connection.<init>(Connection.java:230)
    at org.gjt.mm.mysql.Driver.connect(Driver.java:126)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:146)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Connecti
    onEnvFactory.java:154)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:108)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(Connecti
    onEnvFactory.java:124)
    at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator
    .java:771)
    at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:4
    16)
    at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:3
    30)
    at weblogic.jdbc.common.internal.JdbcInfo.initPools(JdbcInfo.java:117)
    at weblogic.jdbc.common.internal.JdbcInfo.startup(JdbcInfo.java:200)
    at weblogic.jdbc.common.internal.JdbcStartup.main(JdbcStartup.java:11)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:219)
    at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java:109)
    at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
    MySql:
    #This File was made using the WinMySQLAdmin 1.4 Tool
    #29.04.2002 14:46:57
    #Uncomment or Add only the keys that you know how works.
    #Read the MySQL Manual for instructions
    [mysqld]
    basedir=D:/db/mysql
    #bind-address=169.254.102.136
    datadir=D:/db/mysql/data
    #anguage=D:/db/mysql/share/german
    #slow query log#=
    #tmpdir#=
    port=3306
    #set-variable=key_buffer=16M
    [WinMySQLadmin]
    Server=D:/db/mysql/bin/mysqld-nt.exe
    user=du-it
    password=du-it

  • How to connect mySQL database with jdbc

    Who can tell me how to connect mySQL database with jdbc? Thanks

    http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=&not=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16

  • How to connect MySql database with JSP

    Dear everyone,
    how to connect MySql database with JSP......

    It's too bad that nobody has ever asked this question before...

  • What's wrong with this MySQL connection? "Could not create connection to database server"

    I'm able to connect to other MySQL databases but this one particular remote MySQL connection isn't working and I cannot figure it out.  It probably has something to do with the remote server, not CF, but I thought I'd post it here if anyone had an idea.  The MySQL account has full priviledges.
    Here is the message when I try to validate the data source:
    Connection verification failed for data source: test
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:  Could not create connection to database server. Attempted reconnect 3  times. Giving up.
    The root cause was that:  com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:  Could not create connection to database server. Attempted reconnect 3  times. Giving up.

    This happened on two servers.  One one, the cause was that skip-networking was turned on.  In the other situation, it appears that the database name was case sensitive, so TEST was not the same as test.  Even though I edited the data source in the CF administrator, it still didn't work (very misleading).  When a coworker entered a new data source with the same information (uppercase database name this time from the start), it worked.
    Has anyone else seen this problem with the case sensitive database names?  And with the data source in CF not updating the case correctly?  Seems like a bug in CF.

Maybe you are looking for