"Ling Wang" <[EMAIL PROTECTED]> writes:
> I have a fresh installed Linux 7.1 from Redhat. The mysal 3.23.36 was
> installed together with the Redhat Linux. I can not start the mysql
> server by executing /usr/bin/safe_mysqld &.
You're not supposed to. To start mysql, as any service, do
service mysqld start
(which is equivalent to running the initscript like this
"/etc/init.d/mysqld start"). This will automatically initialize the
database the first time it runs. To make it start when your system
starts, do
chkconfig mysqld on
What you've done (and too many others, where do they get this idea?)
is that you've created the database files as root. Then you start the
database, which will run as "mysql". This user can obviously not write
to root's files. Change the ownership manually, and try again - with
"service mysqld start".
--
Trond Eivind Glomsrød
Red Hat, Inc.
---------------------------------------------------------------------
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