Jump to content

Mysql Connection Problem


Recommended Posts

Hello. I have tried connecting to the mysql database externally. I have added a % to the remote mysql. This is the information I am using.

 

<Driver>org.gjt.mm.mysql.Driver</Driver>

<ConnectionString>jdbc:mysql://johnny.heliohost.org:2082/menachem_game</ConnectionString>

 

 

<UserName>menachem_game</UserName>

<Password>xxxxxxx</Password>

 

<TestSQL><![CDATA[sELECT username(*) FROM users]]></TestSQL>

 

This doesn't seem to work when the TestSQL runs. I have tried using localhost and port 3306. The other information is correct. My database and username are the same name. What am I doing wrong? Are the host name and port correct? Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...