Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP

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!