02.02.2014, 12:37
Quote:
I'm using R34 of your plugin and I have a question.
Why does "mysql_connect" return 1, even when MySQL isn't running? ... |
![Smiley](images/smilies/smile.png)
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_connect
Quote:
Returns Connection handle. |
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_errno
pawn Код:
mysql_connect("127.0.0.1", "root", "mydatabase", "mypass");
if(mysql_errno() != 0)
print("Could not connect to database!");