milis/bin/mysql_yapilandir

10 lines
211 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 &&
2017-07-01 12:56:09 +02:00
chown -R mysql:mysql /var/lib/mysql &&
2017-06-05 03:37:10 +02:00
/etc/init.d/mysql start &&
mysql_secure_installation