mysql-guncelleme

This commit is contained in:
milisbir 2017-07-26 14:49:36 +03:00
parent 22a2f2cf88
commit 2a20b2c6f5
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
/etc/init.d/mysql stop
mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql mysql_install_db --basedir=/usr --datadir=/srv/mysql --user=mysql
chown -R mysql:mysql /srv/mysql && chown -R mysql:mysql /var/lib/mysql chown -R mysql:mysql /srv/mysql && chown -R mysql:mysql /var/lib/mysql