Jump to content

Recommended Posts

Posted (edited)

Hello, I'm trying to connect my database from an external source (google apps scripts) and it's no possible.

 

I tried two different connections strings and one is working and mine not.

 

I only changed the database name and the user and password, with no strange symbols, only characters and numbers.

 

The problem must be in my account.

 

Can you check it, please ?

 

Do you know what can be the problem ?

 

that's my connection :

var conectbase2 = Jdbc.getConnection("jdbc:mysql://tommy.heliohost.org:3306/database", "user", "pass");
Edited by gijonsesale
Posted

Did you enable remote mysql? There's a separate page in cpanel where you have to add the IPs that will be connecting (or % to allow all).

  • Like 1

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