Minato Namikaze
Newbie
- Aug 25, 2018
- 5
- 1
Hey I bought hosting from AlexHost but I can't seem to connect to the database that I imported from my localhost. I added a user and granted it all privileges but I still can't seem to connect to it. Do you mind helping me out? Thanks
Note:
1) I also tried port 3036 but that didn't work either.
2) My code works on it's hosted on localhost
3) I added my IP in the "Remote SQL" section of CPanel
Is there anything else I have to do on AlexHost to connect to the database? Thanks.
Code:
databaseName = "MY_DATABASE_NAME";
databaseIP = "hosting2.alexhost.md:2083";
databaseUser = "MY_USER";
databasePass = "MY_PASS";
Note:
1) I also tried port 3036 but that didn't work either.
2) My code works on it's hosted on localhost
3) I added my IP in the "Remote SQL" section of CPanel
Is there anything else I have to do on AlexHost to connect to the database? Thanks.