SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 06/05/2018, 08:06 AM   #1
Error1337
Little Clucker
 
Error1337's Avatar
 
Join Date: May 2018
Location: Chisinau
Posts: 6
Reputation: 0
Default MySQL (error #2002) problem.

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, (C)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]     (c) 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 (c) 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]    (c) 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
Error1337 is offline   Reply With Quote
Old 06/05/2018, 08:16 AM   #2
tungki
Little Clucker
 
tungki's Avatar
 
Join Date: Nov 2012
Location: Indonesia
Posts: 28
Reputation: 1
Default Re: MySQL (error #2002) problem.

Try to Install
libmysql++3 and libmysql++-dev
Quote:
sudo apt-get install libmysql++3 libmysql++-dev
__________________
tungki is offline   Reply With Quote
Old 06/05/2018, 08:22 AM   #3
Error1337
Little Clucker
 
Error1337's Avatar
 
Join Date: May 2018
Location: Chisinau
Posts: 6
Reputation: 0
Default Re: MySQL (error #2002) problem.

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL error #2002 zMason Server Support 0 15/09/2017 08:20 PM
Mysql problem ERROR 1064 RafaelZam Scripting Help 3 09/12/2014 04:42 PM
Nissan 350z 2004 or audi TT 2002 AMEENAMEEN Everything and Nothing 12 21/02/2013 11:17 PM
Mysql Insert Problem (syntax error) Paranoja Help Archive 1 16/07/2009 11:04 AM


All times are GMT. The time now is 01:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.