Jump to content

Problem With Sql Database


globalkn

Recommended Posts

Hello there,

 

I'm having some trouble here, basically I cant connect to the SQL database since I dont know what to type in SQL_IP, anyways

 

#define SQL_IP "???"
#define SQL_NAME "globalkn_f"
#define SQL_PASSWORD "*******"
#define SQL_DB "globalkn_mod"
#endif
#define SQL_TABLE "globalkn_mod"

 

Its something like this. Ive searched for answers, I created the user and connected it to the database but I still dont get whats the actual IP ? As I know it could be controlled via Remote MySQL but Ive tried that too.

 

Thanks

 

Link to comment
Share on other sites

Assuming the script will run on our servers, use localhost, or 127.0.0.1 if it needs an IP. If accessing remotely, be sure to allow your IP in the Remote MySQL section of cPanel, then use johnny.heliohost.org (or 64.62.211.131) as the host.

 

Is there a specific error it's giving you?

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