linux下mysql数据库目录迁移_linux下mysql数据库目录迁移问题
該樓層疑似違規已被系統折疊?隱藏此樓查看此樓
mysql數據庫默認安裝在/var/lib/mysql下,現在把數據庫遷到/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
總結
以上是生活随笔為你收集整理的linux下mysql数据库目录迁移_linux下mysql数据库目录迁移问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: jsp技术通过java_JavaWeb之
- 下一篇: azure webjob java_Ex