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

7 lines
371 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
. /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"