Annie Law wrote:
> First, I went to the MySQL website to look up the section
> on Unix Post-installation Procedures. I then tried the
> following as root and got the following result:
>
> ----------------------------------------------------------
> -------------------------------------------------
>
> Shell> cd /usr/bin
>
> Shell> mysql_install_db

If you do this as root then you only be able to start mysqld
as root

> To start mysqld at boot time you have to copy
> support-files/mysql.server to the right place for your
> system

RedHat has a init script for all the services that were
installed by anaconda, there is one for mysqld in
/etc/rc.d/init.d, if you have configured mysql to star at
the boot time this script uses /etc/my.cnf for the user and
passwords needed to start mysqld.


> You can start the MySQL daemon with:
>
> cd / ; /usr/bin/mysqld_safe &

Again if you was root when did mysql_install_db then you
should do this to start mysqld if this wasn't started at
boot time:
------------------------------------------------------
/usr/bin/safe_mysqld --user=root --password=YOURPASS &
------------------------------------------------------

If you are going to use mysql in a exposed server then is
very insecure run it as root.

Cheers

Usuario Linux #323140
celiseATprodigy.net.mx

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

Reply via email to