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

6 lines
351 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}"
printf "# mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql\n"
printf "# chown -R mysql:mysql /srv/mysql\n"