Mysql problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Mysql problem (
/showthread.php?tid=273339)
Mysql problem -
Crystyan12 - 01.08.2011
Hey..
I have problem with server on database mysql, i open in me pc on windows and he doesn't connect to database fron another host where the site is hosted .
I receive Mysql error...
I using g-stylezz mysql.
in server_log i have
Код:
[12:30:27] MySQL: Connect to the server.
[12:30:48] MySQL: Connection error, retrying...
[12:31:09] MySQL: Ping: -1
What problem is?
Re: Mysql problem -
Tigerkiller - 01.08.2011
make sure your datas are corect if you host it on your homeserver then try host localhost
user root
pw none
Re: Mysql problem -
Crystyan12 - 01.08.2011
bud datas are corected, i try with locallhost,root but stil doesn't work.
in debug.log(mysql.log) i have this:
Код:
[16:08:24] >> mysql_connect( ) [16:08:24] CMySQLHandler::CMySQLHandler() - constructor called. [16:08:24] CMySQLHandler::CMySQLHandler() - Connecting to "xxxx" | DB: "xxxx" | Username: "xxxx" ... [16:08:45] CMySQLHandler::Connect() - Can't connect to MySQL server on 'xxxx' (10060) (Error ID: 2003)
xxxx - is datas but it is correct.
Re: Mysql problem -
Crystyan12 - 01.08.2011
Now on localhost works , but doesn't work on remote database , not on localhost..
what could be the problem?
Re: Mysql problem -
Tigerkiller - 01.08.2011
allow the mysql host extern connections?