Jump to content

Recommended Posts

Posted

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

 

Posted

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?

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