Error: Cannot connect to the database server
Posted by: KingWeb (---.ph.ph.cox.net)
Date: October 21, 2011 12:36AM

Ok I've upgraded to WAMP 2.2 (latest release) from WAMP 1.7.2

I didn't install over 1.7.2 I just changed the dir where the install went.
Everything is working, I can open phpmyadmin (wow it's different?)...
I can access all my websites and they are all working except the sites with a database.

When I go to these sites I get the Error: Cannot connect to the database server

I moved the databases to the new WAMP 2.2 install D:\Wamp\bin\mysql\mysql5.5.16\data
From the old dir on Wamp 1.7.2

However, I still can't connect to any of the databases?
Although, I can create a new one.

What am I missing so that I can connect to all my databases in the new WAMP 2.2 install?

Thanks.

Options: ReplyQuote
Re: Error: Cannot connect to the database server
Posted by: yfastud (Moderator)
Date: October 21, 2011 02:47AM

Seems you're missing users' privileges or worst, some apps like Wordpress need permanent paths

Have fun,

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

Options: ReplyQuote
Re: Error: Cannot connect to the database server
Posted by: KingWeb (---.ph.ph.cox.net)
Date: October 21, 2011 05:42PM

Yeah, I get it...the path to the databases on 1.7.2 is different than the path for WAMP 2.2
Thanks I'll check that out and see if that is the problem...

Thanks.

Options: ReplyQuote


Sorry, only registered users may post in this forum.