Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3636510
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:02:32+00:00 2026-05-19T01:02:32+00:00

I am trying to connect to a remote mysql database but I get the

  • 0

I am trying to connect to a remote mysql database but I get the following error

java.sql.SQLException: Cannot connect to MySQL server on biomancy.com:3306. Is
here a MySQL server running on the machine/port you are trying to connect to? (
ava.lang.NumberFormatException)
        at org.gjt.mm.mysql.Connection.connectionInit(Unknown Source)
        at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Unknown Source)
        at org.gjt.mm.mysql.Driver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at cliche.database.ClicheDBManager.<init>(ClicheDBManager.java:33)
        at cliche.server.ClicheExtension.init(ClicheExtension.java:43)

The code in the init function trigger this chain is simply:

myConnection = DriverManager.getConnection(connectionString, user, pass);

I can connect to the database using the commandline mysql from this same computer just fine using the same credentials, and it let me know I had the password wrong when I tried with the wrong password.

Thank you in advance for your help, I hope I gave enough information here.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T01:02:33+00:00Added an answer on May 19, 2026 at 1:02 am

    My best guess is the driver is not the right version. Double check that you have a current version of the driver or try a different driver. Also double check that mysql running on the default port (3306).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to connect to a remote MySQL database using Visual C# 2008
I'm trying to connect to a remote database (hosted on Netfirms www.netfirms.ca if anyone
I am trying to connect to a Microsoft SQL 2005 server which is not
I'm trying to use cygwin sqlplus to connect to a remote oracle installation located
While trying to connect to a database that's set to read only, the connection
I am trying to connect to 2 databases on the same instance of MySQL
When trying to connect to an ORACLE user via TOAD (Quest Software) or any
I am trying to connect to simple webparts in my sharepoint team site, i
I am trying to connect to a webservice over ssl with a client certificate.
I'm trying to connect to an MDF. I've even gone to the lengths of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.