SA-MP Forums Archive
Mysql problems on Linux, Ubuntu 64 bits - 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 problems on Linux, Ubuntu 64 bits (/showthread.php?tid=364030)



Mysql problems on Linux, Ubuntu 64 bits - CTCCoco - 29.07.2012

Hey, I have some mysql problems.

Note that this actually works on my Windows 7 64 bits system, so I donґt know why in my Linux Ubuntu 64 bitas machine it doesnґt work.

On Windows, all is fine, but in Linux this is what I get ALL the time:

Windows:

Код:
[Sun Jul 29 14:31:02 2012] -------------------------
[Sun Jul 29 14:31:02 2012]      Logging Started
[Sun Jul 29 14:31:02 2012] -------------------------
[Sun Jul 29 14:31:03 2012] Connected (0) to administrator @ 188.165.247.78 via TCP/IP.
[Sun Jul 29 14:31:03 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:31:03 2012] Connected (0) to administrator @ 188.165.247.78 via TCP/IP.
[Sun Jul 29 14:31:03 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[No more, all is fine]
Linux:

Код:
[Sun Jul 29 14:58:42 2012] -------------------------
[Sun Jul 29 14:58:42 2012]      Logging Started
[Sun Jul 29 14:58:42 2012] -------------------------
[Sun Jul 29 14:58:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:58:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:58:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:58:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:58:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:58:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:58:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:58:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:18 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:18 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:18 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:18 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:30 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 14:59:30 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:30 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:30 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:30 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:42 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 14:59:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:54 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 14:59:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 14:59:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 14:59:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:06 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:00:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:18 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:00:18 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:18 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:18 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:18 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:30 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:00:30 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:30 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:30 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:30 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:42 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:00:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:54 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:00:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:00:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:00:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:06 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:01:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:18 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:01:18 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:18 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:18 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:18 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:30 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:01:30 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:30 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:30 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:30 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:42 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:01:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:42 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:42 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:54 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:01:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:01:54 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:01:54 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:02:06 2012] Max connections (4) reached, could not connect.
[Sun Jul 29 15:02:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:02:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
[Sun Jul 29 15:02:06 2012] Connected (0) to administrator @ Localhost via UNIX socket.
[Sun Jul 29 15:02:06 2012] MySQL Server Version 5.1.61-0ubuntu0.10.10.1.
Server looks okey, but it shows offline on sa-mp server list (on Linux).

On Windows works perfect


Somebody can help me, please?

Thanks.


Re: Mysql problems on Linux, Ubuntu 64 bits - FireCat - 29.07.2012

Are you using the mysql plugin for linux?


Respuesta: Re: Mysql problems on Linux, Ubuntu 64 bits - CTCCoco - 29.07.2012

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Are you using the mysql plugin for linux?
Yea, of course, and I try both the static and normal plugin.