PHP won't connect to MySQL?
Posted by: AlexW (---.dyn.gotadsl.co.uk)
Date: June 13, 2007 12:02AM

Just installed WAMP and everything seems to be fine except PHP won't recognise MySQL at all.

The MySQL service is running, I can connec to it thorugh the MYSQL Console option in the WAMP menu and add a database and table, but on my localhost page the MySQL version is blank.

phpinfo isn't showing anything about Mysql and PHPMyAdmin won't work either - any ideas?

Options: ReplyQuote
Re: PHP won't connect to MySQL?
Posted by: CyberSpatium (71.237.217.---)
Date: June 13, 2007 12:53AM

start wamp if it is not already started.

click on php_mysql and make sure their is a small triangle next to it to get to that menu:
left click on the wamp tray icon menu -> php settings -> php extensions -> php_mysql


CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.


Mortgage and Home Loan Advice:
Clarify Loans

Options: ReplyQuote
Re: PHP won't connect to MySQL?
Posted by: AlexW (---.dyn.gotadsl.co.uk)
Date: June 13, 2007 07:50PM

Yep, sorry should have said I already checked that!

Options: ReplyQuote


Sorry, only registered users may post in this forum.