Problem while connecting to MYSQL db
#1

Hello,

When i try to connect to MYSQL database.
i got this error:
in mysql_log.txt:
Код:
[Fri Apr 13 18:55:34 2012]      Logging Started
[Fri Apr 13 18:55:34 2012] -------------------------
[Fri Apr 13 18:55:34 2012] Error (0): Failed to connect. Unknown MySQL server host 'the host name! it is a secret!!' (11001).
HELP!

I hope we get a soloution

Thanks

Edits:
Код:
EDIT1: The MYSQL plugin is made by StrickenKid
EDIT2: If you think the host or user or pass or db name is wrong. so you are wrong because i copied the host and etc from my php script and pasted it to pawno and it works in php and not in pawno? how?
Reply
#2

well i can help you

use

mysql_init(1);

+rep for me
Reply
#3

well it's already done:

Код:
new MySQL:connection = mysql_init(1);
mysql_connect("host", "user", "password", "database name", connection);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)