亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1733 | 回復: 0
打印 上一主題 下一主題

mysql更改存儲報錯 [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2015-06-11 14:26 |只看該作者 |倒序瀏覽
在ubuntu上將mysql的存儲目錄更改到其他磁盤分區(qū)上
更改步驟:
1.、/etc/init.d/mysql stop
2、vim /etc/mysql/my.cnf
     datadir                = /data/mysql       //之前為/var/lib/mysql
3、mv /var/lib/mysql  /data/                   //data在其他分區(qū)上
4 、/etc/init.d/mysql start
但是重啟后就顯示各種報錯信息:
150611 13:41:39 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
150611 13:42:31 mysqld_safe Starting mysqld daemon with databases from /data/mysql
150611 13:42:31 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
150611 13:42:31 [Note] /usr/sbin/mysqld (mysqld 5.5.43-0ubuntu0.14.04.1) starting as process 26942 ...
150611 13:42:31 [Warning] Can't create test file /data/mysql/iZ23urd20hoZ.lower-test
150611 13:42:31 [Warning] Can't create test file /data/mysql/iZ23urd20hoZ.lower-test
150611 13:42:31 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
150611 13:42:31 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
150611 13:42:31 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
150611 13:42:31 InnoDB: The InnoDB memory heap is disabled
150611 13:42:31 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150611 13:42:31 InnoDB: Compressed tables use zlib 1.2.8
150611 13:42:31 InnoDB: Using Linux native AIO
150611 13:42:31 InnoDB: Initializing buffer pool, size = 128.0M
150611 13:42:31 InnoDB: Completed initialization of buffer pool
150611 13:42:31  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
150611 13:42:31 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
請問各位大神,是哪里有問題嗎。第3行的那個“instead of”應該影響不大吧。
我在新開的虛擬機上按照上面的步驟,就成功了,沒有這么多報錯。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP