[EMAIL PROTECTED] writes:
> I have installed Redhat Linux 7.1 with the supplied MySQL distribution
> (3.23.36?). I've run the "mysql_install_db" script, but when I try to start
> MySQL using "./bin/safe_mysqld --user=mysql &", from the installation directory,
> MySQL starts then ends immedately ("MySQL ends") without an error!!
1) Don't run mysql_install_db or safe_mysqld directly - use "service
mysqld start", it will automatically initialize the database
2) When you run mysql_install_db, you create the files as root -
later, you try to run the database as mysql. This user won't have
access to your files.
To fix it, do "chown -R mysql.mysql /var/lib/mysql". And you should
run mysql with "service mysqld start" in the future - or just enable
it by default, with "chkconfig mysqld on"
--
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