Mysql / Centos
#1

Hello,


I am getting this error when I go to start my server up,

[20:39:47] [MySQL] Connecting to '109.169.23.185'...
[20:39:47] [MySQL] Connection to '109.169.23.185' failed!

[20:48:14] [MySQL] Connecting to 'localhost'...
[20:48:14] [MySQL] Connection to 'localhost' failed!

This to me leads me to believe it's a problem with mysql as I have just installed it all. I have moved all my files from volt onto a private VPS.
Reply
#2

Did you contact your provider about MYSQL? They should be able to guide you through setting it up with them.
Reply
#3

Are you connecting to a server that is not yours?

Regarding your localhost connection, is your MySQL Server running, is your user, database, and password created. Here's something that can help you out with setting MySQL up for a server.

https://sampforum.blast.hk/showthread.php?tid=327272
Reply
#4

Quote:
Originally Posted by ColorHost-Kevin
Посмотреть сообщение
Did you contact your provider about MYSQL? They should be able to guide you through setting it up with them.
I've just contacted them now, though I installed mysql and phpmyadmin through Yum
Quote:
Originally Posted by Brandon Javorsky
Посмотреть сообщение
Are you connecting to a server that is not yours?

Regarding your localhost connection, is your MySQL Server running, is your user, database, and password created. Here's something that can help you out with setting MySQL up for a server.

https://sampforum.blast.hk/showthread.php?tid=327272
All my passwords, users and databases have been created
Reply
#5

MySQL is quite specific about permissions. Assuming the MySQL is on the VPS as well, try running

mysql -u [user] -h [IP of the server or localhost if on same VPS] -p

enter the password when it asks for it and see how it replies. If it lets you in, there's a problem with your script/plugin. If it doesn't let you in, you should see something like Access Denied for user 'username'@'what-you-entered-in-h-parameter' (Using password: YES).
If that's the case, login using root and change the host stored for the user and flush privileges. If that doesn't work, go search more on Stack Overflow.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)