mysql host prob website
#1

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.
Reply
#2

< Bump >
Reply
#3

Have any screenshots of the error, or code line?. you can PM me for help
Reply
#4

It says Failed to connect to DB.
Reply
#5

Try adding your IP to remote connections in your control panel.
Reply
#6

What you mean Seif?
Reply
#7

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.

Reply
#8

How to give them the privileges?
Reply
#9

Yes I saw them It's already granted tho
Reply
#10

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?
Reply
#11

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.
Reply
#12

I did still not working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)