PHPMYADMIN - Cannot connect: invalid settings. Latest WAMPServer Build (2i)
Posted by: Lamonte (---.dsl.stlsmo.sbcglobal.net)
Date: July 27, 2009 08:23AM

Alright basically I visit phpmyadmin and I get this error:

(I've read all the latest posts regarding phpmyadmin in the title and search doesn't/can't find any topics regarding my question)


--ERROR--
Error
MySQL said:

Cannot connect: invalid settings.
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.
--ERROR--

My php pages work and what not (All my apps that i created works fine even with the database), something is just wrong with phpmyadmin connecting with mysql.

Options: ReplyQuote
Re: PHPMYADMIN - Cannot connect: invalid settings. Latest WAMPServer Build (2i)
Posted by: Lamonte (---.dsl.stlsmo.sbcglobal.net)
Date: July 27, 2009 09:03AM

Alright I found a fix. Latest version of Wampserver had the incorrect settings.


IN: C:\wamp\apps\phpmyadminVERSION\config.inc.php

Find:

$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

Replace:
$cfg['Servers'][$i]['AllowNoPassword'] = true;

Fixes the problem.

smiling smiley

Options: ReplyQuote
Re: PHPMYADMIN - Cannot connect: invalid settings. Latest WAMPServer Build (2i)
Posted by: badger (---.dyn.iinet.net.au)
Date: July 28, 2009 05:54AM

My error is now,

Error
MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: YES) ITS WAS NO NOW ITS YES ?????

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.

Options: ReplyQuote
Re: PHPMYADMIN - Cannot connect: invalid settings. Latest WAMPServer Build (2i)
Posted by: Lamonte (---.dsl.stlsmo.sbcglobal.net)
Date: July 28, 2009 07:11AM

Alright now your username could be incorrect. Download [downloads.jlbn.net] resetmysql and read the readme.

Options: ReplyQuote
Re: PHPMYADMIN - Cannot connect: invalid settings. Latest WAMPServer Build (2i)
Posted by: yfastud (Moderator)
Date: July 28, 2009 01:55PM


Options: ReplyQuote
Re: PHPMYADMIN - Cannot connect: invalid settings. Latest WAMPServer Build (2i)
Posted by: laksiri (---.slt.lk)
Date: November 25, 2010 06:30AM

I solved my problem using the following help.

Thanks for all.

Re: PHPMYADMIN - Cannot connect: invalid settings. Latest WAMPServer Build (2i) new
Posted by: Lamonte (---.dsl.stlsmo.sbcglobal.net)
Date: July 27, 2009 09:03AM

Alright I found a fix. Latest version of Wampserver had the incorrect settings.


IN: C:\wamp\apps\phpmyadminVERSION\config.inc.php

Find:

$cfg['Servers'][$i]['AllowNoPasswordRoot'] = true;

Replace:
$cfg['Servers'][$i]['AllowNoPassword'] = true;

Fixes the problem.



Excellent Help!

Options: ReplyQuote


Sorry, only registered users may post in this forum.