SA-MP Forums Archive
[MYSQL] Connecting error - 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: [MYSQL] Connecting error (/showthread.php?tid=445249)



[MYSQL] Connecting error - Marc Johnson - 20.06.2013

Connecting:
PHP код:
    mysql mysql_init(LOG_ALL);
        
// Connect to the database.
        
mysql_connect(SQL_HOSTSQL_USERSQL_PASSSQL_DBmysql); 
Log:
Код HTML:
[Thu Jun 20 15:52:55 2013]      Logging Started
[Thu Jun 20 15:52:55 2013] -------------------------
[Thu Jun 20 15:52:55 2013] Function: mysql_init executed with result: "0".
[Thu Jun 20 15:52:55 2013] Connected (0) to juracityrp @ db4free.net via TCP/IP.
[Thu Jun 20 15:52:55 2013] MySQL Server Version 5.6.12-log.
[Thu Jun 20 15:52:55 2013] Function: mysql_init executed with result: "1".
[Thu Jun 20 15:52:56 2013] Connected (1) to juracityrp @ db4free.net via TCP/IP.
[Thu Jun 20 15:52:56 2013] MySQL Server Version 5.6.12-log.
[Thu Jun 20 15:52:56 2013] Function: mysql_init executed with result: "2".
[Thu Jun 20 15:52:56 2013] Connected (2) to juracityrp @ db4free.net via TCP/IP.
[Thu Jun 20 15:52:56 2013] MySQL Server Version 5.6.12-log.
[Thu Jun 20 15:52:57 2013] Function: mysql_init executed with result: "3".
[Thu Jun 20 15:52:57 2013] Connected (3) to juracityrp @ db4free.net via TCP/IP.
[Thu Jun 20 15:52:57 2013] MySQL Server Version 5.6.12-log.
[Thu Jun 20 15:52:58 2013] Max connections (4) reached, could not connect.



Re: [MYSQL] Connecting error - Josh_Main - 20.06.2013

Is your server updated to 0.3x?


Re: [MYSQL] Connecting error - Marc Johnson - 20.06.2013

yes...........