MySQL doesn't work
Posted by: The Unique Code (82.114.160.---)
Date: January 19, 2008 06:04PM

Hi,
I just Installed WampServer 2, and when I started it, MySQL didn't work but Apache worked very well. The phpmyadmin shows this message " #2003 - Can't connect to MySQL server on 'localhost' (10061) ". but when I installed WampServer 2 into another computer it worked well, and I also installed it in another computer but MySQL didn't work. !!!
Waiting for your replay...

Options: ReplyQuote
Re: MySQL doesn't work
Posted by: yfastud (Moderator)
Date: January 19, 2008 07:15PM

Try this:

Open file my.ini in folder C:\wamp\bin\mysql\mysql5.0.45

Find this line:

default-storage-engine=INNODB

Replace with:

default-storage-engine=MyISAM

Then restart wamp

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: MySQL doesn't work
Posted by: The Unique Code (82.114.160.---)
Date: January 20, 2008 09:25AM

The MySQL worked, but phpmyadmin did not, it shows :

" #2003 - Can't connect to MySQL server on 'localhost' (10061) "

could you please tell why this differ from computer to another one ? and what's the INNODB & MyISAM are ?
and why the phpmyadmin did not work while MySQL worked !!!?


I also found when I open phpmyadmin through this URL "[localhost]; it desplay the previous message, but when I try this "[localhost]; it worked !!! can any one explain



Edited 3 time(s). Last edit at 01/20/2008 03:18PM by The Unique Code.

Options: ReplyQuote
Re: MySQL doesn't work
Posted by: yfastud (Moderator)
Date: January 20, 2008 04:05PM

Quote

could you please tell why this differ from computer to another one ?
You might have different things on different ocmputers

Suggestion: Open your browser and clean up all cookies; if afraid to loose some important cookie, try to delete them manually; if still not working, try to reinstall phpmyadmin or better install latest phpmyadmin version which is 2.11.4

INNODB & MyISAM are 2 of many db types of mysql

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: MySQL doesn't work
Posted by: The Unique Code (82.114.160.---)
Date: January 21, 2008 09:17AM

after I clean up all cookies, the phpmyadmin worked. Thanks
sorry for making many questions, but could you provide me with good sites explain the difference between the db types and when to use them ? I'll appreciate that

Options: ReplyQuote
Re: MySQL doesn't work
Posted by: yfastud (Moderator)
Date: January 21, 2008 03:15PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.