-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Sat, 29 Mar 2003, Ken Tozier wrote:

> I just downloaded and installed the "mysql-max-4.0.12.pkg", ran
>
> cd /usr/local/mysql
>    sudo ./bin/mysqld_safe
>    (Enter your password)
>    (Press CTRL+Z)
>    (Press CTRL+D to exit the shell)
>    bg

Ugh, the ReadMe has a typo here (fixed in the meanwhile) - please change
the order of the last three commands:

  (Press CTRL+Z)
  bg
  (Press CTRL+D to exit the shell)

Otherwise the MySQL process is suspended and will not run!

> 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?

It seems to be a common problem on Mac OS X that the "hostname" command
does not reveal a host name. I will need to check, if we can work around
this somehow...

Bye,
        LenZ
- -- 
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /      Mr. Lenz Grimmer <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__     MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/     Hamburg, Germany
       <___/   www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+h+xRSVDhKrJykfIRAnbyAJ4gmXZP7dz5Lp8zYt6jB4cqWsZn+wCfRDWr
CT0AdF+zoomoulPCH9vYXNM=
=vZpS
-----END PGP SIGNATURE-----

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to