1

它工作正常,突然我的数据库连接停止工作。下面是我得到的转储。

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_db无法连接到数据库,因为:Can't connect to local MySQL server through socket 'MySQL' (2)

我不知道如何解决它,请帮助我

4

0 回答 0