Posts: 385
Threads: 20
Joined: May 2014
Reputation:
0
Hello i've created a website tops list and gangs list and etc.
When I connect it with VPS it's says failed to connect to database.
I got a free db4free.net db and tested it and worked .
What the reason? the webpage script or what?
and how to fix that.
Thank you.
Posts: 104
Threads: 3
Joined: Oct 2016
Reputation:
0
It says Failed to connect to DB.
Posts: 147
Threads: 73
Joined: Jul 2013
Reputation:
0
Try adding your IP to remote connections in your control panel.
Posts: 716
Threads: 92
Joined: May 2018
Probably the database user you're trying to connect with doesn't have permissions. Go to phpmyadmin, select your created database for the server, go to "Privileges" and assign global permissions to the user you're using. Or even better, create a new one with permissions just on the server database.
Posts: 104
Threads: 3
Joined: Oct 2016
Reputation:
0
How to give them the privileges?
Posts: 104
Threads: 3
Joined: Oct 2016
Reputation:
0
Yes I saw them It's already granted tho
Posts: 716
Threads: 92
Joined: May 2018
Quote:
Originally Posted by Satish1
The problem is that it says FAILED to Connect TO SEF Database! https://imgur.com/a/UVunlWx
Am using A VPS But I think I need to enable something? And I have tried it on a free db it did work. Can someone help me here?
|
If you're using a VPS in "HOST"* you should put your VPS ip, not localhost.
*I'm referring to the mysql configuration of your gamemode.