错误信息是:Warning: Access denied for user: 'cycker1@cycker' (Using password: YES) in c:\apache\htdocs\test3.php on line 3Warning: MySQL Connection Failed: Access denied for user: 'cycker1@cycker' (Using password: YES) in c:\apache\htdocs\test3.php on line 3 Could not connect
Could not connect
看上去有点奇怪.
你把localhost改成127.0.0.1看看.
表示本机最安全的方式是127.0.0.1,用这个比较好:)