cd /usr/local/mysql sudo ./bin/mysqld_safe (Enter your password) (Press CTRL+Z) (Press CTRL+D to exit the shell) bg
as specified in the readme. When attempting to set the root password, I successfully ran
/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
but it choked on:
/usr/local/mysql/bin/mysqladmin -u root -h $hostname password 'new-password'
with the error: hostname: Undefined variable.
Problem is, I'm such a Unix newbie I don't know how to retrieve the "hostname" it is looking for. I tried the name of my computer and my user name but those didn't work. What is it looking for?
Thanks
Ken Tozier
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]