Remote MySQL Connection DW4

HTTP Error Code 400 Bad Request
I am trying to configure MySQL connection to a remote
BlueOnyx server for the first time. Any simple instructions
somewhere to accomplish this?

jeffcg2 posted in macromedia.dreamweaver
> HTTP Error Code 400 Bad Request
> I am trying to configure MySQL connection to a remote
BlueOnyx
> server for the first time. Any simple instructions
somewhere to
> accomplish this?
Moody Blues? :)
Although error 400 suggests malformed syntax, if this is on a
shared
host, there is a very good chance that they've prohibited
remote access
to the database for security reasons.
Otherwise, check the syntax used in your connections.
Mark A. Boyd
Keep-On-Learnin' :)

Similar Messages

  • No Tables in DW CS3 Remote MySQL Connection

    Hello All,
    I was hoping forum members would be able to troubleshoot a
    Dreamweaver CS3/remote MySQL Connection issue I'm having.
    I am successful in connecting to the database but the table
    data I created in phpMyAdmin 2.6.3 does not appear in the
    Application/Databases menu in DW. Instead of the name of the table,
    I get "none".
    Since I am new to databases, any help is greatly appreciated.
    I did view older posts before submitting this one but the advice
    recommended (re-installing the entire MySQL application from
    scratch) is not an option. Server is SunOS running PHP 4.4.7 and
    MySQL 2.0.20. I'm on Windows XP. Thanks once again.

    Was this issue resolved?
    I have the same problem now. DW was working fine the one day and the next when I started it it had this connection problem.
    I am testing on my local PC. My sites is at http://localhost/
    All my connection are working because if I go to http://localhost/index.php I can see my site and if I go to http://localhost/register.php I can even register a new user. It will include the new user details in the data base and everything is working fine. So there is nothing wrong with the connection.
    In DW I do have http://localhost/ on the Local Info screen. As I said, all was working fine on the current setup the one day and the next day it did not want to work.
    Seems like a very common problem.
    I want to buy CS4 and surely hope that the problem has been fixed by now.

  • Jar file and remote mysql connect

    I have a jar file that i want anyone run it.The problem is that the code makes a connection to a database (mysql) to my computer.How anyone can connect to my databse in my computer from another pc without the user have to had the java \ mysql connect or hte mysql.Only the java.I try with a jnlp file and the jar file stored in my computer.I have a host name and i have open the port 3306 for mysql and allow remote connections to mysql.Can you help me;;

    ok i connect to database like this:
    try {
                   String userName = "username";
                   String password = "password";
                   String url = "jdbc:mysql://HOSTNAME/bankloans";
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   conn = DriverManager.getConnection(url, userName, password);
              } catch (Exception e) {
                   System.out.prinln(e);
              }The JNPL file
    <?xml version="1.0" encoding="Windows-1251"?>
    <jnlp
      spec="1.0+"
      codebase="http://nasikas.ath.cx:8080/bankloans/"
      href="BankLoans.jnlp">
    <information>
    <title>Bank Loans Programme</title>
    <vendor>Softlets</vendor>
    <description>Bank Loans Programme</description>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.6+"/>
    <jar href="BankLoans.jar" main="true"/>
    <jar href="mysql-connector-java-5.1.0-bin.jar"/>
    </resources>
    <application-desc main-class="Go"/>
    </jnlp>What is wrong;;

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

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

  • Connecting to remote mysql server

    Hi all,
    Been having problems connecting to a remote mysql database. Everytime i run the servlet I get the following :
    Communication link failure: java.io.EOFException, underlying cause: null
    I've been google'ing for a while and it seems the usual respone is that the connection has timed out, but this happens everytime I try to connect so I don't really see how that applies to this particular problem. Here's part of he code I'm using.
    Class.forName( "org.gjt.mm.mysql.Driver").newInstance();
    Connection db = DriverManager.getConnection("jdbc:mysql://hostname/databasename", "username", "password");I'm using Tomcat 4.1.30 and mysql-connector-java-3.0.15-ga-bin.jar ( and I've also tried with mysql-connector-java-2.0.14-bin.jar). Any advice would be greatly appreciated.

    Here's the complete error message including the stack trace. Just to specify a little more:
    - SQL server is alive and running
    - Specifying IP address instead of name results in same error (Same when adding port 3306)
    - Running the servlet using tomcat 4.1.30 (http://localhost:8080/servlet/dbtest) with mysql-connector-java-3.0.15-ga-bin.jar
    - Not sure if there are any firewalls in between (There probably is one, but not on this end.) I'll try to get in touch with the server admin this week.
    java.sql.SQLException: Communication link failure: java.io.EOFException, underly
    ing cause: null
    ** BEGIN NESTED EXCEPTION **
    java.io.EOFException
    STACKTRACE:
    java.io.EOFException
            at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1394)
            at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1413)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:625)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:1782)
            at com.mysql.jdbc.Connection.<init>(Connection.java:450)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :411)
            at java.sql.DriverManager.getConnection(DriverManager.java:512)
            at java.sql.DriverManager.getConnection(DriverManager.java:171)
            at dbtest.service(dbtest.java:37)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2422)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:163)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
    9)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :828)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:700)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :584)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
            at java.lang.Thread.run(Thread.java:534)
    ** END NESTED EXCEPTION **
            at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1446)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:625)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:1782)
            at com.mysql.jdbc.Connection.<init>(Connection.java:450)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :411)
            at java.sql.DriverManager.getConnection(DriverManager.java:512)
            at java.sql.DriverManager.getConnection(DriverManager.java:171)
            at dbtest.service(dbtest.java:37)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:247)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:193)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:256)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
    2422)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
    rValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:163)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
    t.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
    9)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :828)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
    ssConnection(Http11Protocol.java:700)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
    :584)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
            at java.lang.Thread.run(Thread.java:534)

  • Connecting Oracle to a remote MySQL

    Hi all,
    Would it be possible to connect Oracle server from remote desktop connection to Msql sever residing at another remote desktop connection?
    Thank you
    Dounia

    Hi
    This post is an FYI to everyone who are have this Q?
    if you have to create a Datasource to a remote MySQL DB you will need to first download the MySQL JDBC driver (it avalable for free from mysql site) add this jar file to you applib directory(<oracle_home>\j2ee\home\applib directory)
    then create the datasource specify the driver name and connection URL
    Regards,
    Raghavendra

  • Applet connection to remote MySql - HELP

    Hi:
    I've got an applet that connects to a MySql database (4.1).
    As long as I try to connect to the MySql server on the machine the applet is running on (my development computer), everything works great.
    I'm using this jar as the MySql connector:
    mysql-connector-java-5.0.3-bin.jar
    I can connect to the remote MySql server (also 4.1) with MySql Administrator and also with .NET, no problem.
    BUT - when I try to connect to the remote MySql server from the Applet I get an 'access denied' error.
    I also tried it from the applet set up as a Java application with a main function. If I try to connect to the local MySql server, no problem. If I try to connect to the remote machine I get a 'connection timeout' error.
    I should add that when I connect to the remote machine from MySql Administrator, the connection is almost instantaneous and with no problem.
    Any help would be greatly appreciated.

    Well, I've been over it and over it. I've read and tried everything I could find.
    No matter what I do it won't connect.
    The applet is signed, I don't need to learn how to do that.
    The popup comes up and asks if I want to run it: I click YES
    The connection works fine for the local database but not the remote one.
    Again, I can connect to the remote one with MySql Admin just fine using the same parameters.
    import java.*;
    import java.sql.*;
    import java.util.*;
    import java.security.*;
    public class DBaseConn extends java.applet.Applet {
        private java.sql.Connection  oCn = null;   
        private final String MySqlUrl = "jdbc:mysql://555.555.555.555:3306/mysql";
        private final String MySqlserverName= "555.555.555.555";
        private final String MySqlportNumber = "3306";
        private final String MySqldatabaseName= "mysql";
        private final String MySqluserName = "SomeUser";
        private final String MySqlpassword = "SomePassword";
        private final String selectMethod = "cursor";
        public String sErr = "";
        public void init() {
            // TODO start asynchronous download of heavy resources
        public java.sql.Connection OpenMySqlDBase() throws Exception
           try
                Class.forName("com.mysql.jdbc.Driver");
                //oCn =  DriverManager.getConnection(MySqlUrl, MySqluserName, MySqlpassword);
                oCn = (Connection)AccessController.doPrivileged(new PrivilegedAction() {
                    public Object run()
                        try
                            return DriverManager.getConnection(MySqlUrl, MySqluserName, MySqlpassword);                       
                        catch(Exception exp)
                            sErr = exp.getMessage();
                            return null;
                if(oCn!=null)
                    sErr = "MySQL Connection SUCCEEDED!!";
                    return oCn;
                else
                    if(!sErr.equals(""))
                        sErr = "MySQL Connection FAILED with ERROR: " + sErr;
                    else
                    sErr = "MySQL Connection FAILED!";
                    return null;
           catch(Exception exp)
               sErr = "MySQL Connection FAILED With ERROR!:\r\n" + exp.getMessage();
               return null;
    }The error is:
    Communications link failure due to underlying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.SocketException
    MESSAGE: java.security.AccessControlException: access denied (java.net.SocketPermission 555.555.555.555:3306 connect,resolve)
    STACKTRACE:
    , , ,

  • Php connection to remote mysql server

    Hi,
    I've stragne problem using php 4.3.10 with Sun One 6.1 on Solaris 9. The connection to a remote mysql server fail. I've correct grants in both servers and the php.ini is setting to permit no limit connection to databases. the code:
    $host='my-remote-server.com';
    $link1=mysql_connect($host,"bla","blabla");
    if$db1 = mysql_select_db("LOGIN",$link1);
    $link = mysql_connect("localhost","bla","blabla");
    $db = mysql_select_db("LOGIN",$link);
    The remote connection fail but the local one works. When i work with another server Sun One 6 in Solaris 8 , everthing work wonderfull with the same deffinitions, it can connect the remote databases but the others machines can't connect the solaris 8 machine. i think there is something wrong in the solaris 9 or/and sun one 6.1 deffinition it avoid remote connection. The problem i don't know what may be wrong, which setting may affect tcp connections from web application in solaris 9/sun one 6.1 plataform.

    we found the problem finally and may be useful for someone. Using the solaris 9 network snifer (snoop) we found that the default php timeout connection for mysql doesn't work ,this value is 60 in the php.ini . After 4 or 5 miliseconds php application closes the connection when it runs from the webserver , running from the shell it doesn't happen.The answer from the other server arrived after 20 or 30 milisecods then the connection to the databases fails. The solution is to put unlimited tiemout , mysql_connection_timeout=-1 then it success to connect the remote mysql server correctly. May be problem without timeout connection in case the other server doesn't answer, then application may wait forever or untill the system or webserver take out the application. I didn't check this posibilty, mainly i'm interesting the applications can work and write in the remote databases. If this definition cause problem as application waiting connection we always can try with another value greater than 60.

  • PHP and MySQL Connection problem

    I am trying to make a PHP MySQL on a remote server connection in Dreamwesaver CS3.
    When I enter the information (host, user, password, etc.) and hit TEST, I get the following error message.
    "Access Denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured."
    I know the user, password, etc. work, as I can access the MySQL database with other software.
    I checked with my host and they say there are no permission problems on their end.
    I have checked the settings on the Test Server page in Site Setup and everything looks correct and works there.
    I have not seen this particular problem described in other forum postings (although there are a LOT of postings on this topic!).
    Any help would be appreciated.

    I thought my testing server was the remote server and is always on as far as I know. I don't know how to turn it on or off.
    Is there some other testing server that I should be aware of?
    Frank
    Date: Wed, 3 Jun 2009 15:43:02 -0600
    From: [email protected]
    To: [email protected]
    Subject: PHP and MySQL Connection problem
    I know you are using remote, but is your testing server on? if not turn that on and see if that does it. it just happened to me working on remote server and could not get mysql conn to work, until I turn on my testing (developer server), then I was able to connect to mysql and the tables that I created in phpmyadmin remotly was downloaded.
    >

  • Linking Azure website with Remote mysql database in Cpanel

    I am creating an azure website eg calvynlee.azurewebsites.net
    In my hosting cpanel account, I create a mysql db & user, in order to link the azure website with this mysql db, I had place a "%" in the remote mysql section.
    It works, but when I remove the % from the remote mysql section. Azure website unable show error connection with my database.
    Question:
    Understand that placing % is allow all remote connection to my database. For security purpose, placing % is not recommended, and placing the website IP address is the most suitable practice.
    Unfortunately, I place the website IP (by ping the website and obtain the IP) in remote mysql section is not working.
    My cpanel service provider mention that the IP I obtain is not the right IP, there will be another host sever IP
    What is the actual IP address I should put? and How to find this right IP?

    Hi,
    Based on your description, your mysql db is created in cpanel, and want to let the azure website connect with this db, I don't familar with cpanel, in general way the azure website request may be stopped by something, such as firewall etc.., as far as I
    know, the azure Hybrid Connections may meet your requirement, you can connect a website on Microsoft Azure to any on-premises resource that uses a static TCP port, such as SQL Server, MySQL, HTTP Web APIs, Mobile Services, and most custom Web Services, refer
    to
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-hybrid-connection-get-started/ for more details, hope this helps, if not, please feel free to let me know.
    Best Regards,
    Jambor 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • MySql Connectivity!@?

    hi all,
    I have a problem connecting my testLink app program to the remote mySQL database(another PC).
    It seems that there is a link error on my part. Does anybody know whats wrong with my prog.
    The program code below didnt have any problem compiling so i guess my mySQL driver has been set correctly,
    But when i tried to run the prog. it generates error (see. below).
    import java.sql.*;
    public class testLink {
    public static void main(String args[]) {
              Connection con = null;
              PreparedStatement ps = null;
    try {
         Class.forName("com.mysql.jdbc.Driver");
    con = DriverManager.getConnection("jdbc:mysql://192.168.3.156/test","bong","bong");
    ps = con.prepareStatement("select * from 1");
    ps.executeQuery();
         System.out.println("Connected...");
    } catch(Exception ex) {
    System.err.println("SQLException: " + ex.getMessage());
    finally {
         try {
              con.close();
              }catch(Exception ex){;}           
    D:\Bong\sample>javac testLink.java
    D:\Bong\sample>java testLink
    SQLException: Communication link failure: java.io.IOException, underlying cause:
    Unexpected end of input stream
    ** BEGIN NESTED EXCEPTION **
    java.io.IOException
    MESSAGE: Unexpected end of input stream
    STACKTRACE:
    java.io.IOException: Unexpected end of input stream
    at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1096)
    at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:626)
    at com.mysql.jdbc.Connection.createNewIO(Connection.java:1562)
    at com.mysql.jdbc.Connection.<init>(Connection.java:491)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :346)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at CreateCoffees.main(CreateCoffees.java:9)
    ** END NESTED EXCEPTION **
    any help is very much appreciated and thanks,
    dennis

    Make sure that you are using the correct version of the MySQL JDBC driver. I remember getting something similar when using an older driver with an alpha of version 5 of MySQL.

  • Web Sharing + Remote mysql Access

    Hey! I just had a quick question.
    I'm a developer and I was wondering how to enable Web Sharing to allow my PHP code to access mysql databases remotely.
    Currently, my web sharing and php and stuff like that work great, but I get the following error whenever I try to connect to a database.
    "Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/private/tmp/mysql.sock' (2) in /Users/matt/Sites/bio/web/dbconnect.php on line 2
    Could not connect: Can't connect to local MySQL server through socket '/private/tmp/mysql.sock' (2)"
    I'm pretty saavy with software, but anything dealing with firmware or hardware, I am very much humbled. Can someone please help with enabling access to connect to a remote mysql database?
    Thanks so much.

    Nah I haven't actually physically installed it on my computer. I didn't think I had to install it, since I already actually have the database built that I want to connect to.
    Should I install it, then?

  • How to contact remot mysql server

    hello everyone
    I am programming a java application,needing to contact remote mysql server, how should i do?
    for example:
    the mysql server ip is:192.168.0.1
    user:chengshwu
    password:123456
    what driver should i select?how should i writing the classForName() and DriverManager.getConnection
    thanks for you help

    what driver should i select?mysql driver offcourse from here
    http://servlet.java.sun.com/products/jdbc/drivers
    how should i writing the
    classForName() and DriverManager.getConnectionhere is a good tutorial which explains.
    http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
    thanks for you helpyou welcome

  • VDI 3.1 Big Endian vs Little Endian: VDI Cluster to Remote mysql server

    Hello,
    We are implementing a Dual Data center VDI environment and with that, will be using VCS to Cluster a remote Mysql instance. My question, if the VDI Cluster is on x86 (Little Endian), can the remote Mysql DB be on Sparc (Big Endian)?
    Thanks,

    The endian matching is only a requirement for the management and data nodes of a MySQL cluster. If you are going to be using a remote MySQL DB, the VDI servers will be connecting to that remote MySQL DB as a client connection, and there is no requirement for clients to match the endian type.
    http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-limitations-exclusive-to-cluster.html

Maybe you are looking for