kez Posted April 24, 2005 Share Posted April 24, 2005 Hi, I'm running Gentoo. When I enter http://10.0.0.5/phpmyadmin/index.php in my browser I get: "Welcome to phpMyAdmin 2.6.2-rc1 Wrong username/password. Access denied" which is obviously a problem. What I have tried to resolve this: 1) I have re-set the MySQL passwords and MySQL appears to be working fine. I did this with the following sequence of commands: mysqld --skip-grant-tables & mysql -u root mysql UPDATE user SET Password=PASSWORD('mypassword') WHERE User='root'; FLUSH PRIVILEGES; 2) I have also identified .htaccess files in the following directories: /var/localhost/htdocs/pub/.htaccess /var/localhost/htdocs/includes/.htaccess /var/localhost/htdocs/download/.htaccess /var/localhost/htdocs/admin/.htaccess but not in /var/localhost/htdocs/phpmyadmin/ so it seems like it shouldn't matter. I haven't found a .passwd control file. I'm new to php and don't understand the scripting within php yet or the .htaccess files. Anyone offer any ideas to get phpmyadmin going ? regards, Kez Link to comment Share on other sites More sharing options...
Simplyeasier Posted April 25, 2005 Share Posted April 25, 2005 Hi, I'm running Gentoo. When I enter http://10.0.0.5/phpmyadmin/index.php in my browser I get: "Welcome to phpMyAdmin 2.6.2-rc1 Wrong username/password. Access denied" which is obviously a problem. What I have tried to resolve this: 1) I have re-set the MySQL passwords and MySQL appears to be working fine. I did this with the following sequence of commands: mysqld --skip-grant-tables & mysql -u root mysql UPDATE user SET Password=PASSWORD('mypassword') WHERE User='root'; FLUSH PRIVILEGES; 2) I have also identified .htaccess files in the following directories: /var/localhost/htdocs/pub/.htaccess /var/localhost/htdocs/includes/.htaccess /var/localhost/htdocs/download/.htaccess /var/localhost/htdocs/admin/.htaccess but not in /var/localhost/htdocs/phpmyadmin/ so it seems like it shouldn't matter. I haven't found a .passwd control file. I'm new to php and don't understand the scripting within php yet or the .htaccess files. Anyone offer any ideas to get phpmyadmin going ? regards, Kez <{POST_SNAPBACK}> I would be tempted to drop the database and re-create it from scratch and see if that makes a difference The .htaccess files are an apache construct that tell the server how to process files and data calls. You can do it within apache (which is the recommended way if you have access to root or at the directory level if you are on a shared server. Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
kez Posted April 27, 2005 Author Share Posted April 27, 2005 Thanks Charles :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.