MySQL doesn't talk to PHP anymore (EasyPHP)
Posted
by Matt Ellen
on Super User
See other posts from Super User
or by Matt Ellen
Published on 2010-02-20T17:02:45Z
Indexed on
2010/05/05
22:38 UTC
Read the original article
Hit count: 398
I've just upgraded from Windows XP to Windows 7 (64 bit)
I was using EasyPHP 5.3.1 to develop my website, but since I've upgraded I can't get PHP to talk to MySQL.
Even the PHPMyAdmin page doesn't load.
I've tried installing the latest 64bit version of MySQL in place of the supplied version of MySQL, but that hasn't helped.
The queries just don't seem to reach MySQL.
I have verified that the DB for my database works by running mysql on the command line.
PHPMyAdmin doesn't display an error, just a blank page.
The error coming up from my website is:
Warning: PDO::__construct() [pdo.--construct]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in E:\services\EasyPHP-5.3.1\www\IdeaWeb\classes\Security.inc on line 14
Fatal error: Maximum execution time of 60 seconds exceeded in E:\services\EasyPHP-5.3.1\www\IdeaWeb\classes\Security.inc on line 0
Does anyone know how to solve this? (i.e. get MySQL talking to PHP.)
© Super User or respective owner