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

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