From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.17-14 i686)
Description of problem:
The start/stop script in /etc/rc.d/init.d/mysqld has filenames and
directories hard-coded. If I change the datadir in /etc/mycnf
immediately after installation, the initial databases will be created
in the correct location but they will be owned by root and
the daemon will fail to start.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
change datadir in /etc/my.cnf after installation (before first time that
mysqld is started).
Create empty directory (with the same name, owned by mysql).
Start mysql by running '/etc/rc.d/init.d/mysqld start'.
mysql-3.23.44-2 now has the datadir in one location. Changing it is an
unsupported operation, but there's now less to change.