photoworks Posted November 17, 2005 Author Report Share Posted November 17, 2005 i looked into /etc/init.d/ i tried to restart postgresql when i do that, it tells me [failed] an old version ot the database format was found you need to upgrade the data format before using Postgresql see your (system documentation dictory)/postgresql:8.0/readme . rpm-dist for m could it be that this service (not started)prevent php my admin to start correctly ? Quote Link to comment Share on other sites More sharing options...
aioshin Posted November 18, 2005 Report Share Posted November 18, 2005 first, try to check your httpd.conf, usually when you upgrade the system, some of the config files will be set to the defaults of the new application related to it.. say.. usually your old httpd.conf will become httpd.conf.rpmsave, check if that exists... then, I dont know if phpmyadmin depend on postgresql, I have'nt tried it, it usually depend and used for mysql. Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 For php myadmin to work on my machine, i need to install those packages, is that correct, or did i forget to mention some ? apache-base-2.0.54-13mdk.i586 apache-conf-2.0.54-12mdk.i586 apache-mod_php-2.0.54_5.0.4-4mdk.i586 apache-modules-2.0.54-13mdk.i586 apache-mpm-prefork-2.0.54-13mdk.i586 libmysql14-4.1.12-3mdk.i586 php-ini-5.0.4-4mdk.i586 php-mysql-5.0.4-1mdk.i586 phpMyAdmin-2.6.4-2mdk.noarch Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 ok, after reinstalling all the module needed, now, when i type : http://127.0.0.1/admin/phpMyAdmin/index.php it ask me for a username and password. i assume the username is root as for the password, i tried the empty field, my root password, but i cannot connect. it tells me : Welcome to phpMyAdmin 2.6.4-pl1 Wrong username/password. Access denied. What else is wrong ? Quote Link to comment Share on other sites More sharing options...
aioshin Posted November 19, 2005 Report Share Posted November 19, 2005 this is from http://www.phpmyadmin.net/documentation/#faqmultiuser [4.4] phpMyAdmin always gives "Access denied" when using HTTP authentication. This could happen for several reasons: * $cfg['Servers'][$i]['controluser'] and/or $cfg['Servers'][$i]['controlpass'] are wrong. * The username/password you specify in the login-dialog are invalid. * You have already setup a security mechanism for the phpMyAdmin-directory, eg. a .htaccess file. This would interfere with phpMyAdmin's authentication, so remove it. Quote Link to comment Share on other sites More sharing options...
scoopy Posted November 19, 2005 Report Share Posted November 19, 2005 you can check what password it is expecting in the file config.inc.php that can be found at: file:/var/www/html/admin/phpMyAdmin/ look around line 84 and yes... root is the default username. Quote Link to comment Share on other sites More sharing options...
aioshin Posted November 19, 2005 Report Share Posted November 19, 2005 this portion I think... $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?$cfg['Servers'][$i]['user'] = 'mysqluser'; // MySQL user $cfg['Servers'][$i]['password'] = 'mysqluserpassword'; // MySQL password (only needed if you have'nt set a password for your root on your mysql, try to change the auth_type to config instead of http Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 when i change authentification method to config, i get this message : MySQL said: Documentation#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 you can check what password it is expecting in the file config.inc.php that can be found at:file:/var/www/html/admin/phpMyAdmin/ look around line 84 and yes... root is the default username. <{POST_SNAPBACK}> There are no password expected in the file config.inc.php. Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 this is from http://www.phpmyadmin.net/documentation/#faqmultiuser [4.4] phpMyAdmin always gives "Access denied" when using HTTP authentication. This could happen for several reasons: * $cfg['Servers'][$i]['controluser'] and/or $cfg['Servers'][$i]['controlpass'] are wrong. * The username/password you specify in the login-dialog are invalid. * You have already setup a security mechanism for the phpMyAdmin-directory, eg. a .htaccess file. This would interfere with phpMyAdmin's authentication, so remove it. <{POST_SNAPBACK}> Where is located the >htaccess file ? i do not see it in phpmyadmin directory. Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 here is my config.inc.php file : config.inc.php Quote Link to comment Share on other sites More sharing options...
scoopy Posted November 19, 2005 Report Share Posted November 19, 2005 Try this: In your config.inc.php file change line 36 to this (assuming your path/ setup is the same)" $cfg['PmaAbsoluteUri'] = 'http://127.0.0.1/admin/phpMyAdmin'; and then try logging in with user root and a blank password field. Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 same problem : Wrong username/password. Access denied. Quote Link to comment Share on other sites More sharing options...
scoopy Posted November 19, 2005 Report Share Posted November 19, 2005 The only other thing I see different between our config files is line 82. Mine looks like this: $cfg['Servers'][$i]['auth_type'] = 'cookie'; Have we verified MySQL is running ? In a terminal... su to root and type in this: service mysql status If so, it will say, "mysqld (pid #) is running..." Otherwise, I am running out of ideas. Quote Link to comment Share on other sites More sharing options...
photoworks Posted November 19, 2005 Author Report Share Posted November 19, 2005 mysql wasnot installed. i an installing it and i retry. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.