If I understand your core problem: it seems as if you can't start your
mysql daemon (mysqld) using the safe_mysqld wrapper.

Is it possible that you ran your "mysql_install_db" script as root?  If
so then mysqld will have problems accessing the admin db files that
the script creates. (You can verify this by checking ownership and
permissions on the newly created db files. My datadir for RedHat 7.2 is
"/var/lib/mysql/mysql"; all the db files should be owned by user="mysql".)

One solution is:
    - backup/rename your datadir while logged-in as root
    - su mysql (a valid mysql user must exist; check docs if does not)
        -  execute "mysql_install_db" as user=mysql
        - run "safe_mysqld" as user=mysql
    - check connection with "mysqladmin version"

There is probably an easier way to do all this with the "--user" directive.

Hope this helps.



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to