• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

PhpMyadmin Query Bug

Owner Maydel

Evolera.Tk
Joined
Aug 16, 2015
Messages
302
Reaction score
40
Location
Egypt
Can Some One Help Me PLease.


The system is going down for system halt NOW!
[11:13:38.149] mysql_real_query(): SELECT `id`, `value`, `param`, `expires` FROM `bans` WHERE `type` = 1 AND `active` = 1 - MYSQL ERROR: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (2002)
[11:13:38.149] mysql_real_query(): SELECT `id` FROM `accounts` WHERE `name` = '3729606' LIMIT 1 - MYSQL ERROR: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (2002)
[11:13:38.344] mysql_real_query(): SELECT `vipdays` FROM `accounts` WHERE `id` = 3777 LIMIT 1 - MYSQL ERROR: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (2002)

same error


[11:32:48.309] mysql_real_query(): SELECT `id`, `value`, `param`, `expires` FROM `bans` WHERE `type` = 1 AND `active` = 1 - MYSQL ERROR: Lost connection to MySQL server during query (2013)
 
Last edited by a moderator:
same error


[11:32:48.309] mysql_real_query(): SELECT `id`, `value`, `param`, `expires` FROM `bans` WHERE `type` = 1 AND `active` = 1 - MYSQL ERROR: Lost connection to MySQL server during query (2013)
reinstall you phpmyadmin bro and it will be fixed!
 
maybe not because you no have idea of linux ! so keep claim!
This isn't about phpmyadmin, mysql server isn't reachable.


On Topic:
This error can have several fixes, probably the first suggestion will solve the problem.

1. The mysql server might not be starter or closed/crashed, try to start it with this command:
Code:
service mysqld start

2. This error might occour if you've installed mysql client instead of the mysql server.

3. When you try to connect mysql to "localhost" instead of "127.0.0.1" the socket connector will be used, in this case it might be disabled.
You can try to connect the mysql server with 127.0.0.1 instead.

3b. The location to the socket might be incorrect, you check "my.cnf".
 
Back
Top