• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MySQL JDBC Connect Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MySQL JDBC Connect Error


  • Subject: Re: MySQL JDBC Connect Error
  • From: "Chris Hoyt" <email@hidden>
  • Date: Fri, 21 Mar 2008 22:23:30 -0400

I found that the "bind-address" setting I put in the my.cnf file to enable network access disabled local access through "localhost".

On Thu, Mar 20, 2008 at 7:23 PM, Chuck Hill <email@hidden> wrote:
I'd guess that the connection information does not match the database
server.

Chuck


On Mar 20, 2008, at 2:34 PM, Chris Hoyt wrote:
> I am having trouble moving a project live.  The program errors out
> with a JDBC connect error when I put it on my server.  The output is
> below.  Here are some clues:
> - I have Mac OS X 10.5
> - I have this working my development environment
> - I have other websites that successfully use MySQL through PHP
> - I have installed mysql-connector-java-5.1.5-bin.jar in /Library/
> Java/Extensions
> - The databases/users/privileges are identical in my dev environment
> and server
>
> Thanks ahead of time.
>
> Last packet sent to the server was 1 ms
> ago.java.net.ConnectException: Connection refusedat
> com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:
> 1070)

--

Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >MySQL JDBC Connect Error (From: "Chris Hoyt" <email@hidden>)
 >Re: MySQL JDBC Connect Error (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Help with this db design
  • Next by Date: Re: WWDC 08
  • Previous by thread: Re: MySQL JDBC Connect Error
  • Next by thread: Re: MySQL JDBC Connect Error
  • Index(es):
    • Date
    • Thread