According to my reference, 'PHP and MySQL Web Development', after making
and installing mysql:
# scripts/mysql_install_db
# cd /usr/local/mysql/bin
# ./safe_mysqld &
# ./mysqladmin - u root password 'new-password'
You may have to kill mysqld, or you might get a way with just the last
command to set the root password- it's been a while since I installed
mysql but these are the steps took.
On 6 Jun 2002, Craig White wrote:
> dummy me - I started the mysqld without a password and now I can't log
> in to make changes and set up users. How can I log in without a
> password? It won't let me log in without a password but there never was
> any - it's a new installation.
>
> Craig
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
--
Patrick Fleming, EA
http://myhdvest.com/patrickfleming
Licensed to represent taxpayers
before Exam, Appeals, and Conference
divisions of the IRS