Home > database >  The MYSQL database can even after a while, then even not
The MYSQL database can even after a while, then even not

Time:10-07

Warning: mysqli: : mysqli () [mysqli. Mysqli] : (HY000/2003) : Can 't connect to MySQL server on' localhost

MYSQL database can even after a while, then even not on, even when not on the paper surface errors, masters, who know how to solve!

CodePudding user response:

A MySQL error log

CodePudding user response:


Did you use anti-virus software? Clear the memory when turn off the mysql service!

CodePudding user response:

Close the firewall,

CodePudding user response:

See if because the socket due to time delay

CodePudding user response:

Sometimes, can be connected, sometimes even without the native database can be connected at any time, even when it isn't on a 1326 error, very upset, firewall is shut down

CodePudding user response:

The original poster to solve, meet the same problem
  • Related