MySQL Server 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 Server problem (
/showthread.php?tid=187207)
MySQL Server problem -
Carrera - 01.11.2010
Hy,i am connect GM whit SQL
PHP код:
#define MYSQL_HOST "***.com"
#define MYSQL_USER "***_samp"
#define MYSQL_PASS "MyPW***"
#define MYSQL_DB "***_samp"
And i get this error's
Код HTML:
[18:41:41] ----------------------------------
[18:41:41] MYSQL: Attempting to connect to server...
[18:41:41]
Connection to MySQL database: Failed !
[18:41:41] Host '93-137-7-64.adsl.net.t-com.hr' is not allowed to connect to this MySQL server
[18:41:41] Error in mysql_select_db: MySQL server has gone away
[18:41:41] MYSQL: Connection error, retrying...
[18:41:45]
Connection to MySQL database: Failed !
[18:41:45] Host '93-137-7-64.adsl.net.t-com.hr' is not allowed to connect to this MySQL server
[18:41:45] Error in mysql_select_db: MySQL server has gone away
[18:41:45] MYSQL: Could not reconnect to server, terminating server...
[18:41:45] Number of vehicle models: 6
[18:41:45] --- Server Shutting Down.
[18:41:45]
*** Streamer Plugin v2.3.8 by Incognito unloaded ***
[18:41:45]
/**************************************************/
/* SAMP-MySQL v0.14 Plugin unloaded successfully ! */
/**************************************************/
Why?Plzzz help my | TY!
Re: MySQL Server problem -
Kwarde - 01.11.2010
"is not allowed to connect to this MySQL server"
It's clear, you probally don't have access or something :P
Re: MySQL Server problem -
Carrera - 01.11.2010
I am make it,i need to set accses in cPanel
Re: MySQL Server problem -
Scenario - 01.11.2010
Does your host allow external connections? I know some host don't allow connections from other I.P. addresses other then their own...