[Mysql] Connecting
#1

Hey guys;

My mysql for some reason isnt connecting to database anymore:
pawn Code:
[MySQL] Error (0): Failed to connect. Can't connect to MySQL server on '213.5.176.155' (10060).
I haven't changed my connection at all:
pawn Code:
new MySQL:handler = mysql_init(1);
    mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB, handler, 1);
I use strickenskids mysql.

Anyone know reason why it might have stopped connectings? thanks in advance
Reply
#2

Try to search for that error (10060)
Reply
#3

Quote:
Originally Posted by coole210
View Post
Try to search for that error (10060)
How very informational!
Reply
#4

I use it like this:

pawn Code:
mysql_init(LOG_ALL, 1);
mysql_connect(SQL_HOST, SQL_USER, SQL_PASS, SQL_DB);
Same plugin.
Reply
#5

Make sure your params aren't messed up, because when I moved from g-stylez plugin, mysql_pass and mysql_db were swapped.
Reply
#6

i didnt switch just now, ive been using same plugin since start, it just stopped working
Reply
#7

Are you sure you have a MySQL server running?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)