中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

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

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

mysql數據庫新安裝無法啟動

發布時間:2020-06-17 02:44:34 來源:網絡 閱讀:48018 作者:CARYFLASH 欄目:MySQL數據庫

mysql數據庫源碼編譯之后,啟動失敗具體報錯日志如下:

2018-04-13 23:45:46 67547 [Note] Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
2018-04-13 23:45:46 67547 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2018-04-13 23:45:46 67547 [Note] InnoDB: Using atomics to ref count buffer pool pages
2018-04-13 23:45:46 67547 [Note] InnoDB: The InnoDB memory heap is disabled
2018-04-13 23:45:46 67547 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-13 23:45:46 67547 [Note] InnoDB: Memory barrier is not used
2018-04-13 23:45:46 67547 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-04-13 23:45:46 67547 [Note] InnoDB: Using CPU crc32 instructions
2018-04-13 23:45:46 67547 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-04-13 23:45:46 67547 [Note] InnoDB: Completed initialization of buffer pool
2018-04-13 23:45:46 67547 [Note] InnoDB: Highest supported file format is Barracuda.
2018-04-13 23:45:46 67547 [Note] InnoDB: Log scan progressed past the checkpoint lsn 49463
2018-04-13 23:45:46 67547 [Note] InnoDB: Database was not shutdown normally!
2018-04-13 23:45:46 67547 [Note] InnoDB: Starting crash recovery.
2018-04-13 23:45:46 67547 [Note] InnoDB: Reading tablespace information from the .ibd files...
2018-04-13 23:45:46 67547 [Note] InnoDB: Restoring possible half-written data pages 
2018-04-13 23:45:46 67547 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 1600607
2018-04-13 23:45:46 67547 [Note] InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percent: 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 
InnoDB: Apply batch completed
2018-04-13 23:45:46 67547 [Note] InnoDB: 128 rollback segment(s) are active.
2018-04-13 23:45:46 67547 [Note] InnoDB: Waiting for purge to start
2018-04-13 23:45:46 67547 [Note] InnoDB: 5.6.39 started; log sequence number 1600607
2018-04-13 23:45:46 67547 [Note] Server hostname (bind-address): '*'; port: 3306
2018-04-13 23:45:46 67547 [Note] IPv6 is available.
2018-04-13 23:45:46 67547 [Note]   - '::' resolves to '::';
2018-04-13 23:45:46 67547 [Note] Server socket created on IP: '::'.
2018-04-13 23:45:46 67547 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist

解決方法:
重新初始化數據庫即可
shell> /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data`
之后數據庫啟動成功
shell> /etc/init.d/mysqld start
Starting MySQL. SUCCESS!

設置root用戶登陸密碼:
shell> mysqladmin -uroot -p password '123456'
Enter password:【默認密碼為空直接回車即可】
Warning: Using a password on the command line interface can be insecur

向AI問一下細節

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

AI

陇西县| 佛山市| 宁陕县| 泊头市| 井陉县| 高台县| 望城县| 铁力市| 同仁县| 齐河县| 林芝县| 兴山县| 正宁县| 遂平县| 贵州省| 米泉市| 固阳县| 方正县| 屏山县| 寻甸| 安国市| 横峰县| 闽侯县| 洛阳市| 雷山县| 五指山市| 兴文县| 合作市| 类乌齐县| 南部县| 平远县| 安化县| 安徽省| 崇礼县| 都兰县| 成武县| 朔州市| 渝中区| 河曲县| 罗江县| 满城县|