工作正常,突然我的数据库连接停止工作。 下面是我得到的转储。
Array
(
[hostname] => localhost
[username] => ****
[password] => ****
[database] => *******
[dbdriver] => mysql
[dbprefix] =>
[pconnect] =>
[db_debug] =>
[cache_on] =>
[cachedir] =>
[char_set] => utf8
[dbcollat] => utf8_general_ci
[swap_pre] =>
[autoinit] => 1
[stricton] =>
)
尝试连接数据库:picspeak_dbCannot连接到数据库,因为:Can't connect to local MySQL server through socket 'MySQL' (2)
我不知道如何解决,请帮帮我