- make sure MySQL is started as user mysql from safe_mysqld.sh script
instead of the example startup.sh
- hard coded /usr/local -> ${PREFIX} in MESSAGE
- use user/group commands instead of cat/adduser in INSTALL script
- ${FOO} -> $FOO in INSTALL/DEINSTALL
- fix mysql_install_db to pickup the hostname that's used while creating
the database
- add a missing brace for DB_DIR in INSTALL script
- run mysql_install_db as user mysql to make sure the database has proper
file permissions
--
Reported by: Peter Strömberg <peter.stromberg@commentor.se>
- make the default database directory a bit easier to change with the
DB_DIR variable
- add warning about possible virtual memory limit exhaustion
- change default database directory to /var/mysql and chown it to the
user:group
- integrate check_old_version script into Makefile
- we should be able to make this into a full package now, though not
tested fully
- install user:group of mysql and make MySQL load as user mysql
Reviewed and tested by: ericj@