milis/talimatname/genel/mariadb/mariadb.kur-kos

7 lines
371 B
Plaintext

. /lib/lsb/init-functions
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}"
mkdir -p /srv/mysql
printf "# mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql\n"
printf "# chown -R mysql:mysql /srv/mysql\n"