远程访问root有没有那个权限?mysql那里开了没有?
最好专门建立一个帐号,在mysql表中有专门的权限问题
或者是楼上所说

解决方案 »

  1.   

    mysql里怎么新开帐号呢?新开的帐号有什么规范吗?
      

  2.   

    Add new DB account like this:localhost username userpass
    % username userpassaccount(localhost) is for local host, account(%) is for remote.
      

  3.   

    Warning: mysql_connect(): Host 'gree' is not allowed to connect to this MySQL server in d:\work\test\oversite\include\film_conn.php on line 2
    这到底是怎么回事啊???我已经在mysql库中的user表里建立用户和密码了啊!?!!快郁闷死掉了!!!!!高手进来帮忙啊!!!苦闷!!