milis/bin/mysql_yapilandir

9 lines
172 B
Bash
Executable File

#!/bin/bash
mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql &&
chown -R mysql:mysql /srv/mysql &&
/etc/init.d/mysql start &&
mysql_secure_installation