Guten Tag,
benutze seit kurzem das mysql Plugin (static) R34.
Folgenden Fehler bekomme ich in der mysql_log Datei:
[14:32:25] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[14:32:25] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[14:34:56] [DEBUG] mysql_close - connection: 1, wait: true
[14:34:56] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[14:34:56] [DEBUG] CMySQLConnection::Disconnect - connection was closed
[14:34:56] [DEBUG] CMySQLHandle::~CMySQLHandle - deconstructor called
[14:35:00] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[14:35:00] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[14:35:20] [DEBUG] mysql_format - connection: 1, len: 124, format: "SELECT COUNT(*) AS `count` FROM `accounts` WHERE `username` = '%e'"
[14:35:20] [DEBUG] mysql_tquery - connection: 1, query: "SELECT COUNT(*) AS `count` FROM `accounts` WHERE `username` = ''", callback: "LoadPlayerDataSequence", format: "dd"
So sieht meine server Log Datei aus:
A-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team
[14:44:06] filterscripts = "" (string)
[14:44:06]
[14:44:06] Server Plugins
[14:44:06] --------------
[14:44:06] Loading plugin: streamer.so
[14:44:06]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[14:44:06] Loaded.
[14:44:06] Loading plugin: mysql_static.so
[14:44:06] >> plugin.mysql: R34 successfully loaded.
[14:44:06] Loaded.
[14:44:06] Loaded 2 plugins.
[14:44:06]
[14:44:06] Filterscripts
[14:44:06] ---------------
[14:44:06] Loaded 0 filterscripts.
Unter Windows (mit der mysql.dll) funktioniert der Server wunderbar. Jetzt bin ich auf Linux (nitrado) umgestiegen und ich bekomme diese Probleme.