duanha3539
duanha3539
2013-04-09 13:44

使用windows for application和linux for database时出错[关闭]

  • php
  • mysql

I have my files in Windows OS and Database in Linux Os. When I hit the url in browser, I got following error,

Warning: mysql_connect() [function.mysql-connect]: [2002] No connection could be made because the target machine actively (trying to connect via tcp://192.168.1.211:3306) in D:\Xampp installed files\xampp\htdocs\mobilewebservice\DBconnect.php on line 3

Please help me,

Thanks in advance

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答