MySQL Forums
Forum List  »  Newbie

Re: #1045 - Access denied for user 'Root'@'localhost' (using password: No)
Posted by: Luther Hert
Date: June 13, 2007 12:57PM

After re-installing with the latest PHpMyInfo file, I used this copy of a configuration file to successfully setup MySq, Apache, and MyPhpAdmin.

Did you move the file where appropriate ? The setup script can be a problem. It took looking at another setup for me to figure out how to use it. Here a copy of a config file to make things easier, save it as in your phpMyAdmin folder (edit the root password first).
* Generated configuration file
* Generated by: phpMyAdmin setup script by Michal Čihař <>
* Version: $Id: setup.php:32:28Z nijel $
* Date: Sat, 10 Mar:35:02 GMT

/* Servers configuration */
$i = 0;

/* Server localhost (config:root) [1] */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '****';

/* End of servers configuration */

$cfg['AllowAnywhereRecoding'] = false;
$cfg['DefaultCharset'] = 'iso-8859-1';
$cfg['RecodingEngine'] = 'iconv';
$cfg['IconvExtraParams'] = '//TRANSLIT';

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.