91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

怎么解決MySQL的[ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode問題

發布時間:2021-11-19 12:04:43 來源:億速云 閱讀:1053 作者:iii 欄目:MySQL數據庫

本篇內容主要講解“怎么解決MySQL的[ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode問題”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實用性強。下面就讓小編來帶大家學習“怎么解決MySQL的[ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode問題”吧!

問題:
[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql --basedir=/u01/app/mysql --datadir=/u01/app/mysql/data
Installing MySQL system tables...2016-01-25 15:34:36 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-01-25 15:34:36 0 [Note] /u01/app/mysql/bin/mysqld (mysqld 5.6.28) starting as process 10302 ...
2016-01-25 15:34:36 10302 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-01-25 15:34:36 10302 [Note] InnoDB: The InnoDB memory heap is disabled
2016-01-25 15:34:36 10302 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-01-25 15:34:36 10302 [Note] InnoDB: Memory barrier is not used
2016-01-25 15:34:36 10302 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-01-25 15:34:36 10302 [Note] InnoDB: Using CPU crc32 instructions
2016-01-25 15:34:36 10302 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-01-25 15:34:36 10302 [Note] InnoDB: Completed initialization of buffer pool
2016-01-25 15:34:36 10302 [ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode
2016-01-25 15:34:36 10302 [ERROR] InnoDB: The system tablespace must be writable!
2016-01-25 15:34:36 10302 [ERROR] Plugin 'InnoDB' init function returned error.
2016-01-25 15:34:36 10302 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-01-25 15:34:36 10302 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-01-25 15:34:36 10302 [ERROR] Aborting
2016-01-25 15:34:36 10302 [Note] Binlog end
2016-01-25 15:34:36 10302 [Note] /u01/app/mysql/bin/mysqld: Shutdown complete

原因:之前執行過一次./scripts/mysql_install_db --user=mysql --basedir=/u01/app/mysql --datadir=/u01/app/mysql/data,報錯了,改完參數后,重新執行,又報了此錯誤

解決:
[root@localhost mysql]# pwd
/u01/app/mysql
[root@localhost mysql]# cd data
[root@localhost data]# ls
ibdata1  ib_logfile0  ib_logfile1  mysql  test
[root@localhost data]# rm -rf *
[root@localhost data]# cd ..
[root@localhost mysql]# ./scripts/mysql_install_db --user=mysql --basedir=/u01/app/mysql --datadir=/u01/app/mysql/data
日志顯示成功!

到此,相信大家對“怎么解決MySQL的[ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode問題”有了更深的了解,不妨來實際操作一番吧!這里是億速云網站,更多相關內容可以進入相關頻道進行查詢,關注我們,繼續學習!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

义马市| 班戈县| 徐水县| 霸州市| 荣成市| 高密市| 铜梁县| 三台县| 恩施市| 章丘市| 泰顺县| 花莲市| 富顺县| 通河县| 田阳县| 车险| 洱源县| 揭东县| 吉木乃县| 谷城县| 绥阳县| 五原县| 荥阳市| 南木林县| 正镶白旗| 虞城县| 柳江县| 盐亭县| 旬邑县| 丽江市| 镇安县| 桃园县| 宁强县| 兴仁县| 许昌市| 株洲县| 梅河口市| 通化县| 吉木乃县| 海口市| 胶南市|