检查config文件里面用户名feeling8帐号密码有没有填写正确,该用户有没有操作这个数据库的权限,最后记住添加完用户后重启一下MYSQL

解决方案 »

  1.   

    代码如下 <?php/////////////////////////////////////////////////////////////
    // Please note that if you get any errors when connecting, //
    // that you will need to email your host as we cannot tell //
    // you what your specific values are supposed to be //
    /////////////////////////////////////////////////////////////// type of database running
    // (only mysql is supported at the moment)
    $dbservertype='mysql';// hostname or ip of server
    $servername='localhost';// username and password to log onto db server
    $dbusername='feeling8';
    $dbpassword='gu1982328';// name of database
    $dbname='YES';// technical email address - any error messages will be emailed here
    $technicalemail='[email protected]';// use persistant connections to the database
    // 0 = don't use
    // 1 = use
    $usepconnect=1;?>
      

  2.   

    我不会MYSQL。
    安置程序应该是自己建一个MYSQL数据库的吧
    拥护名和密码都是在第一步更新CONFIG。PHP的
      

  3.   

    你有没有启动mysql. 要先启动MYSQL
      

  4.   

    我想你是沒有在localhost 的host 加上密碼呢!
    你試試在mysql> 內行以下command!GRANT ALL PRIVILEGES ON YES.* TO feeling8@localhost IDENTIFIED BY 'gu1982328';
      

  5.   

    你只是在安装VBB第一步更新CONFIG。PHP,但是你还没有在数据库建立持用户
      

  6.   

    同意 alisontcf(憐星)的
    我怀疑你是不是库名写错了呀,库叫 YES 呀grant 后 可以加句 flush privileges;
    这样不用重启mysql就可以生效了