Can't access phpMyAdmin

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Can't access phpMyAdmin

Postby PGTA_Training » 25. February 2010 19:40

I installed xampp and tried to add a root password. After I did that, every time I try to get to phpMyAdmin I get this error:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

I have uninstalled xampp and reinstalled it, yet I still get this error.

Also, SMTP was disabled when I installed xampp and I don't know if it should be active or not. If it should be enabled, how do I do it please?
PGTA_Training
 
Posts: 4
Joined: 25. February 2010 19:37

Re: Can't access phpMyAdmin

Postby jmatocha » 25. February 2010 20:42

You should be able to edit the file c:\xampp\phpMyAdmin\config.inc.php (your config.inc.php could be in a slightly different location).
Modify the line that reads
Code: Select all
$cfg['Servers'][$i]['password'] = '';

If your new password is porcupine, you should end up with
Code: Select all
$cfg['Servers'][$i]['password'] = 'porcupine';


I hope this helps.

--Jeff
jmatocha
 
Posts: 3
Joined: 25. February 2010 16:27

Re: Can't access phpMyAdmin

Postby MC10 » 26. February 2010 07:52

Yes, either that, or change the config_type to "cookie" so you actually have to log in.
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: Can't access phpMyAdmin

Postby PGTA_Training » 26. February 2010 13:09

Thanks for your help but how to I edit the file. When I try to open it Windows tells me it doesn't recognise it and doesn't know what program to use to open it.
PGTA_Training
 
Posts: 4
Joined: 25. February 2010 19:37

Re: Can't access phpMyAdmin

Postby Altrea » 26. February 2010 14:35

You can use your Windows notepad or better a php editor
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Can't access phpMyAdmin

Postby MC10 » 27. February 2010 03:27

I recommend using Aptana Radrails, but Notepad works just fine.
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: Can't access phpMyAdmin

Postby PGTA_Training » 01. March 2010 14:59

Thanks. I've downloaded Aptana and used that.
PGTA_Training
 
Posts: 4
Joined: 25. February 2010 19:37

Re: Can't access phpMyAdmin

Postby MC10 » 01. March 2010 17:49

If you need PHP coloring, search for "Aptana Eclipse plugins".
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: Can't access phpMyAdmin

Postby dkeays » 01. March 2010 18:36

Since we are getting into that, I'll cast my vote for Notepad++
dkeays
 
Posts: 11
Joined: 24. February 2010 17:03
Location: United States

Re: Can't access phpMyAdmin

Postby PGTA_Training » 02. March 2010 13:10

:) I'll just try getting used to Aptana Studio first I think :)
PGTA_Training
 
Posts: 4
Joined: 25. February 2010 19:37

Re: Can't access phpMyAdmin

Postby dkeays » 02. March 2010 18:51

I prefer something lite-weight. I'm thinking of trying Vim. I hear it has color coding and bracket matching. I want to see if there is a way to get xDEBUG running in Vim.
dkeays
 
Posts: 11
Joined: 24. February 2010 17:03
Location: United States


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 105 guests