MySQL Error
Posted by: bjf98 (---.ri.ri.cox.net)
Date: December 02, 2007 04:14PM

Hi, can anyone help me?
When I create my databases with phpMyAdmin and try to access them with a php script, I can't.
Ex.
I am using wordpress. WAMP meets all the requirements. I follow the instructions, edit the wp-config.php file to point to my database, and I still get the "Error establishing a database connection" error page. Can anyone help me? What am I doing wrong?
Thanks!

Options: ReplyQuote
Re: MySQL Error
Posted by: yfastud (Moderator)
Date: December 02, 2007 05:36PM

Did you create db account including db, user, and pass for wp before installing it? If not, you have uninstall it and redo the whole thing

Have fun,

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

Options: ReplyQuote
Re: MySQL Error
Posted by: bjf98 (---.ri.ri.cox.net)
Date: December 02, 2007 05:43PM

Sorry to trouble you by writing that post. If I use the deafult account:
username: root
password: none
and add a password it works fine
bjf98

Options: ReplyQuote
Re: MySQL Error
Posted by: yfastud (Moderator)
Date: December 02, 2007 05:53PM

For your own security and easier to manipulate db later, you should create a different db account for it rather than using God Admin User "root"

Have fun,

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.