Warning: Cannot modify header information - headers already sent by (output started at C:\www\wp-admin\setup-config.php:23) in C:\www\wp-includes\wp-db.php on line 373Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

解决方案 »

  1.   

    去找WordPress的论坛问,你的配置文件中的用户名密码或者数据库什么的配置有问题。
      

  2.   

    在你调用head函数之前,已经往客户端发送信息了。
    哪怕空格也是信息,
    往往造成的原因就是 你可能在某些文件上在 php体外部增加了空格,回车,什么的。
      

  3.   

    更新一下用户密码 就可以了撒
    SET PASSWORD FOr root@localhost = OLD_PASSWORD('你的密码');