linux下mysql数据库目录迁移_linux下mysql数据库目录迁移问题
該樓層疑似違規(guī)已被系統(tǒng)折疊?隱藏此樓查看此樓
mysql數(shù)據(jù)庫默認(rèn)安裝在/var/lib/mysql下,現(xiàn)在把數(shù)據(jù)庫遷到/data/mysql下,啟動報這個錯誤,是什么原因:
Warning: World-writable config file '/etc/my.cnf' is ignored
Starting MySQL.Warning: World-writable config file '/etc/my.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf' is ignored
touch: cannot touch `/data/mysql/localhost.localdomain.err': Permission denied
chmod: cannot access `/data/mysql/localhost.localdomain.err': Permission denied
touch: cannot touch `/data/mysql/localhost.localdomain.err': Permission denied
chown: cannot access `/data/mysql/localhost.localdomain.err': Permission denied
/usr/bin/mysqld_safe: line 138: /data/mysql/localhost.localdomain.err: Permission denied
rm: cannot remove `/data/mysql/localhost.localdomain.pid': Permission denied
/usr/bin/mysqld_safe: line 182: /data/mysql/localhost.localdomain.err: Permission denied
touch: cannot touch `/data/mysql/localhost.localdomain.err': Permission denied
chown: cannot access `/data/mysql/localhost.localdomain.err': Permission denied
chmod: cannot access `/data/mysql/localhost.localdomain.err': Permission denied
/usr/bin/mysqld_safe: line 138: /data/mysql/localhost.localdomain.err: Permission denied
總結(jié)
以上是生活随笔為你收集整理的linux下mysql数据库目录迁移_linux下mysql数据库目录迁移问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: jsp技术通过java_JavaWeb之
- 下一篇: Dom查看数据库mysql_Linux中