note 96655 added to mysql.installation
| From: | jez300 at osu1 dot php dot net | Date: | Wed, 10 Mar 2010 01:34:45 +0000 |
| Subject: | note 96655 added to mysql.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166854@lists.php.net to get a copy of this message | ||
Windows 7 / Vista:
This took me hours to realise... If you receive the message:
Warning: mysql_connect(): [2002] A connection attempt failed because the connected party did not
(trying to connect via tcp://localhost:3306)
You may need to map localhost to your IP address (127.0.0.1) which is used to find your Mysql
server.
Edit {systemdrive}:\Windows\System32\drivers\etc
Make sure "127.0.0.1 localhost" isn't commented out with # at the begining of
the line!
-----
You may also like to know that if you change from MySQL 32 bit to 64 bit and the Mysql service wont
start you may need to rename or delete your Mysql data
{systemdrive}:\ProgramData\x MySQL\MySQL Server 5.1\data
Regards,
Jez.
----
Server IP: 69.147.83.197
Probable Submitter: 86.134.75.50
----
Manual Page -- http://www.php.net/manual/en/mysql.installation.php
Edit -- https://master.php.net/note/edit/96655
Del: integrated -- https://master.php.net/note/delete/96655/integrated
Del: useless -- https://master.php.net/note/delete/96655/useless
Del: bad code -- https://master.php.net/note/delete/96655/bad+code
Del: spam -- https://master.php.net/note/delete/96655/spam
Del: non-english -- https://master.php.net/note/delete/96655/non-english
Del: in docs -- https://master.php.net/note/delete/96655/in+docs
Del: other reasons-- https://master.php.net/note/delete/96655
Reject -- https://master.php.net/note/reject/96655
Search -- https://master.php.net/manage/user-notes.php