• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

MYSQL ERROR: Can't connect to local MySQL server through socket '/var/run/mysqld/mysq

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,106
Reaction score
214
Location
Germany
GitHub
eubrunomiguel
IM USINT XAMPP 1.7.4 (LAMPP)


[2:21:34.271] >> Loading config (config.lua)
[2:21:34.273] >> Opening logs
[2:21:34.282] > Using SHA1 encryption
[2:21:34.509] >> Checking software version... running sub version, please mind it's unstable and only for testing purposes!
[2:21:34.509] > Current version information - version: 0.4_DEV, patch: 0, build: 0, timestamp: 1297783955.
[2:21:34.509] > Latest version information - version: 0.3.6, patch: 0, build: 3293, timestamp: 1260652199.
[2:21:34.509] >> Loading RSA key
[2:21:34.509] >> Starting SQL connection
[2:21:34.510] Failed connecting to database - MYSQL ERROR: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (2002)

[2:21:34.511] > ERROR: Couldn't estabilish connection to SQL database!
 
You got something wrong with the database.
Look up that the connection is right.
And check what you got in your database.
 
There was a simlar issue, from wat i remember from the solution is to remove /var/run/mysqld/mysqld.sock then restart mysql
 
@refresh
I have the same problem . Need help. Repp++++++++



Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (2002)
>
> [14:15:04.265] > ERROR: Couldn't estabilish connection to SQL database!
-bash: Cant connect to local MySQL server through socket /var/run/mysqld/mysqld.sock (2) (2002)
 
Back
Top