2016-03-23 22:58:39 +01:00
|
|
|
. /lib/lsb/init-functions
|
2016-02-24 01:27:23 +01:00
|
|
|
log_warning_msg "${WARNING} Create a /etc/mysql/my.cnf by comparing it with /etc/mysql/my.cnf.example ${NORMAL}"
|
|
|
|
log_warning_msg "${WARNING} Create a database if need by run the command: ${NORMAL}"
|
2017-02-19 21:58:42 +01:00
|
|
|
mkdir -p /srv/mysql
|
2016-02-24 01:27:23 +01:00
|
|
|
printf "# mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql\n"
|
|
|
|
printf "# chown -R mysql:mysql /srv/mysql\n"
|