milis/bin/mysql_yapilandir

9 lines
172 B
Plaintext
Raw Normal View History

2017-06-05 03:37:10 +02:00
#!/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