localhost & phpmyadmin help
Posted by: chrishere (---.range81-152.btcentralplus.com)
Date: July 31, 2009 11:19PM

Ok so i've just installed WampServer, put it online, then clicked phpmyadmin(well kind of went to "[127.0.0.1]; as localhost doesnt seem to work with Firefox or IE, but works fine with Opera fine for some reason???)) Anyway this error comes up in the phpmyadmin main page...

Error:

MySQL said: Documentation
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.


this look right in the config.inc.php file??

<?php

/* Servers configuration */
$i = 0;

/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

/* End of servers configuration */

$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

?>

Options: ReplyQuote
Re: localhost & phpmyadmin help
Posted by: yfastud (Moderator)
Date: August 01, 2009 04:47AM

Quote

$cfg['Servers'][$i]['extension'] = 'mysqli';
this is just for test since it's not the best solution; replace 'mysqli' w/ 'mysql' then restart wamp

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.