MySQL Forums
Forum List  »  PHP

Re: PLEASE...Help with PHP and MySQL in OS X 10.4 - Tiger
Posted by: Andrew Gilfrin
Date: June 24, 2005 02:56AM

Open up a terminal windows. You will see a shell prompt with you user name in it. Type the following (not including the shell this is where your user name is displayed)

shell> cd /usr/local/mysql


shell> ./bin/mysql -u root

If all is running OK you should get a MySQL propmpt like so...


Now type the command

mysql> SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

With a bit of luck that should do the trick. If it doesn't let us know, I'm working blind as I'm at work at the moment but it should be all OK.

Andrew Gilfrin
My MySQL related Blog
MySQL Stored Procedure,Trigger, View.... (Just about most things these days) Information

Options: ReplyQuote

Written By
Re: PLEASE...Help with PHP and MySQL in OS X 10.4 - Tiger
June 24, 2005 02:56AM

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.