Results 1 to 3 of 3
I have SuSE 10.3. I installed apache, mysql and php. I also installed phpMyAdmin. When I go to http://localhost/phpMyAdmin/ , I get following error:
Welcome to phpMyAdmin 2.11.9
Probably reason ...
- 11-28-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 3
phpMyAdmin
I have SuSE 10.3. I installed apache, mysql and php. I also installed phpMyAdmin. When I go to http://localhost/phpMyAdmin/, I get following error:
Welcome to phpMyAdmin 2.11.9
Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.
Error
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
I came across one solution: that of editing config.inc.php in phpMyAdmin/libraries and entering the root password in $cfg['Servers'][$i]['password'] = '';
Is this mehod secure?? Because this way, I will have to give up my mysql root password. And what if I have another mysql user such as 'admin' with same permissions as 'root'.
- 12-01-2008 #2
No it is not safe to give your password to config.inc.php file unless and untill it is a productive server.
try this:
or$cfg['Servers'][$i]['auth_type'] = 'cookie';
it probably should give a pop up asking for username and password, make sure ur controluser and controlpass is commented...$cfg['Servers'][$i]['auth_type'] = 'config';
Keep updating because am working on similar thing and so far it worked absolutely worth a treat on fedora but having hard time in ubuntu... tryin to fig out more files and configurations, for best practice make a back file of existing config.inc.php and then play with the main file!// $cfg['Servers'][$i]['controluser'] = 'pma';
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
- 12-01-2008 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 3
thanks darkblue, this works!!


Reply With Quote