3 # postinstall - this script will be executed after the MySQL PKG
4 # installation has been performed.
6 # This script will install the MySQL privilege tables using the
7 # "mysql_install_db" script and will correct the ownerships of these files
10 # it also starts mysqld after install
12 if [ ! -f /opt
/var
/lib
/mysql
/mysql
/db.frm
] ; then
13 /opt
/bin
/mysql_install_db
16 if [ -d /opt
/var
/lib
/mysql
] ; then
17 chown
-R root
:root
/opt
/var
/lib
/mysql
20 /opt
/etc
/init.d
/S70mysqld start