Modify mysql's DB account like this:localhost username userpass % username userpassWhen you login mysql by prompt mode, system will verify local account(localhost). When PHP access mysql, system will verify remote account(%) if PHP and MySQL haven't been installed at one machine.
2、检查你的用户权限,是 远程登陆还是本地登陆?
另外,你的PHP版本也超老了吧....
为什么不用 mysql4.0.22 以上,php4.3.9?
防火墙的mysql端口有没有打开?
手工运行mysql能不能运行
% username userpassWhen you login mysql by prompt mode, system will verify local account(localhost). When PHP access mysql, system will verify remote account(%) if PHP and MySQL haven't been installed at one machine.