Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


PHPMyAdmin wont let me log onto database using (Xampp Windows 7)

Hi im having some issues trying to log into mySql database from the phpmyadmin log in page. I am trying to access the database as root user, but when I put in the credentials to log in "user = root, and password=blank", it tells me that I can not log into mySql server.

I have gone into http://localhost/security/xamppsecurity.php to try to change the password and username but still the issue persists.

Please help me as im really getting frustrated right now. Thanks.

2 Answers

George Drakakis
George Drakakis
6,369 Points

I the mysql service turned to ON ? Also check the config file of phpmyadmin. If and when Mysql is on, create a new user, give him full priviledges and put those credentials in the config file. Google a bit and I think you'll be ok :-)

Hey George I think i tried what you are asking, change the config file fields to a new user and password?

I tried that also, I even tried changing the "config" field to cookie, and that still has not solved the problem. I think my best bet now is to reinstall Xamp, hopefully this will be a learning lesson never to forget my passwords!