Re: MySQL trubs

From: Date: Wed, 22 Aug 2001 23:03:01 +0000
Subject: Re: MySQL trubs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63978@lists.php.net to get a copy of this message
sounds like you need to make sure the password in phpMyAdmin and the MySQL for the user running the app are the same. You can reset the users password with mysqladmin -u username password new-password and then edit the phpMyAdmin config and make sure everything matches....also, one small suggestion, you should run a DB admin app for anything production or accessible that uses root, you should create or select a user and grant them the appropriate privileges to run phpMyAdmin. This could lead to a potential security breach on a machine thats accessible. just my $ 0.02 -- Michael O'Neal wrote: > > Hi. I've recently set up phpMyAdmin on an OS X 10.1 server. Everything was > fine, and it set up great. I then restarted the Apache server and am > getting this message: > > Warning: Access denied for user: 'root@localhost' (Using password: YES) in > /Library/WebServer/Documents/Mangotest/phpMyAdmin/lib.inc.php on line 351 > > Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' > (Using password: YES) in > /Library/WebServer/Documents/Mangotest/phpMyAdmin/lib.inc.php on line 351 > Error > > MySQL said: Access denied for user: 'root@localhost' (Using password: YES) > > I've been mucking around the command line for a while, but can't figure out > how to reset my root password. It *was* setup with a root password, but it > won't let me in now. Anyone have any suggestions? > > Please respond to mike@thinkmango.com, as I am on the digest. Thanks. > > mto > > -- > > Michael O'Neal > Web Producer/ Autocrosser > ST 28 '89 Civic Si > --------------------- > M A N G O > B O U L D E R > --------------------- > http://www.thinkmango.com > e- mike@thinkmango.com > p- 303.442.1821 > f- 303.938.8507 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Michael B. Weiner, Linux+, Linux+ SME Systems Administrator/Partner The UserFriendly Network (UFN) -- Linux Registered User #94900 Have you been counted? http://counter.li.org PGP: 30 1D CC BA 30 30 63 35 CD 58 E0 89 A9 17 CC C0 8C 55 F7 72 ......... Escape the 'Gates' of Hell `:::' ....... ...... ::: * `::. ::' ::: .:: .:.::. .:: .:: `::. :' ::: :: :: :: :: :: :::. ::: .::. .:: ::. `::::. .:' ::. ...:::.....................::' .::::.. --

« previous php.general (#63978) next »