Need Help! - 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)
+--- Thread: Need Help! (
/showthread.php?tid=579203)
Need Help! -
Sam15 - 25.06.2015
But when I start my server it says, it says MYSQL is gone. Here is the Mysql log
16:35:05 CMySQLConnection::Connect ERROR (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
16:35:06 CMySQLConnection::Connect ERROR (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
16:35:06 CMySQLConnection::Connect ERROR (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
16:35:06 CMySQLConnection::Connect ERROR (error #2003) Can't connect to MySQL server on '127.0.0.1' (10061)
16:35:09 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away
16:35:09 cache_get_row_count WARNING no active cache
16:35:09 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away
16:35:09 cache_get_row_count WARNING no active cache
16:35:09 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away
16:35:09 cache_get_row_count WARNING no active cache
16:36:08 CMySQLQuery::Execute ERROR (error #2006) MySQL server has gone away
16:36:08 cache_get_row_count WARNING no active cache
Re: Need Help! -
GeorgeMcReary - 25.06.2015
This is what i found try this:
MySQL_Connect SAMP
EDIT: and Where is Denis on that line?
Re: Need Help! -
AndySedeyn - 25.06.2015
I quote myself from the ScoutServers forum:
Quote:
Originally Posted by myself on the ScoutServers forum
'ip', 'user', 'db' and 'pass' are strings. That means they must be in between quotation marks. (i.e.: for the username: "dennis").
|
Re: Need Help! -
GeorgeMcReary - 25.06.2015
Quote:
Originally Posted by AndySedeyn
I quote myself from the ScoutServers forum:
|
Yup for eg:
PHP код:
mysql_connect("SQL_HOST","SQL_USER","SQL_DB","SQL_PASS");
it should be in this format.(LIKE betwn " ")
Re: Need Help! -
Sam15 - 25.06.2015
Question changed thanks for telling me but there's another problem.
Re: Need Help! -
GTLS - 25.06.2015
see if this help:
THIS
Re: Need Help! -
Sam15 - 25.06.2015
I use Scoutservers for hosting and MySql so how can I change it ?
Re: Need Help! -
AndySedeyn - 25.06.2015
Quote:
Originally Posted by Sam15
I use Scoutservers for hosting and MySql so how can I change it ?
|
Wait for them to reply to your topic on their forums.