Jump to content

Recommended Posts

Posted

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!

Posted

As I mentioned, I added a % to the remote mysql. I assume this adds every ip address. I am new to remote mysql. If % doesn't add every ip address, then do i need to add only my ip?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...