MySQL (error #2002) problem.
#1

Tried to run a MySQL server. I'm getting this error.
MySQL Log:
HTML Code:
[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[11:02:33] [ERROR] CMySQLConnection::Connect - (error #2002) Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Server Log:

HTML Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[11:02:32] filterscripts = ""  (string)
[11:02:32] 
[11:02:32] Server Plugins
[11:02:32] --------------
[11:02:32]  Loading plugin: crashdetect.so
[11:02:32]   CrashDetect v4.18.1 is OK.
[11:02:32]   Loaded.
[11:02:32]  Loading plugin: mysql.so
[11:02:32]   Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[11:02:32]  Loading plugin: mysql_static.so
[11:02:32]  >> plugin.mysql: R37 successfully loaded.
[11:02:32]   Loaded.
[11:02:32]  Loading plugin: dc_cmd.so
[11:02:32]   Daniel's CMD plugin v2.8
[11:02:32]     © 2014 Daniel_Cortez
[11:02:32] 	www.pro-pawn.ru
[11:02:32]   Loaded.
[11:02:32]  Loading plugin: regex.so
[11:02:32] 

[11:02:32] ______________________________________

[11:02:32]  Regular Expression Plugin v0.2.1 loaded
[11:02:32] ______________________________________

[11:02:32]  By: Fro © Copyright <TBG> 2009-2011
[11:02:32] ______________________________________

[11:02:32]   Loaded.
[11:02:32]  Loading plugin: SKY.so
[11:02:32]   Loaded.
[11:02:32]  Loading plugin: sscanf.so
[11:02:32] 

[11:02:32]  ===============================

[11:02:32]       sscanf plugin loaded.     

[11:02:32]          Version:  2.8.1        

[11:02:32]    © 2012 Alex "Y_Less" Cole  

[11:02:32]  ===============================

[11:02:32]   Loaded.
[11:02:32]  Loading plugin: streamer.so
[11:02:32] 

*** Streamer Plugin v2.8.2 by Incognito loaded ***

[11:02:32]   Loaded.
[11:02:32]  Loaded 7 plugins.

[11:02:33] 
[11:02:33] Filterscripts
[11:02:33] ---------------
[11:02:33]   Loaded 0 filterscripts.

[11:02:33] -> Подключиться к базе не удалось (In english "The connection to the database failed")
[11:02:33] Number of vehicle models: 94
Reply
#2

Try to Install
libmysql++3 and libmysql++-dev
Quote:

sudo apt-get install libmysql++3 libmysql++-dev

Reply
#3

Quote:
Originally Posted by tungki
View Post
Try to Install
libmysql++3 and libmysql++-dev
Getting the same ((
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)