亚洲精品久久久中文字幕-亚洲精品久久片久久-亚洲精品久久青草-亚洲精品久久婷婷爱久久婷婷-亚洲精品久久午夜香蕉

您的位置:首頁技術文章
文章詳情頁

Mysql啟動發生系統錯誤1067

瀏覽:118日期:2022-06-17 15:25:38

問題描述

Windows解壓的Mysql,編輯my.ini后無法啟動。

[mysqld] innodb_buffer_pool_size = 128M basedir = D:/mysql-5.6.34-winx64 datadir = D:/mysql-data port = 3306 server_id = mysql join_buffer_size = 128M sort_buffer_size = 2M read_rnd_buffer_size = 2M sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

D:mysql-5.6.34-winx64bin>net start mysqlMySQL 服務正在啟動 .MySQL 服務無法啟動。系統出錯。發生系統錯誤 1067。進程意外終止。

日志如下:

2016-10-25 14:27:40 3972 [Note] Plugin ’FEDERATED’ is disabled.MySQL: Table ’mysql.plugin’ doesn’t exist2016-10-25 14:27:40 3972 [ERROR] Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.2016-10-25 14:27:40 3972 [Note] InnoDB: Using atomics to ref count buffer pool pages2016-10-25 14:27:40 3972 [Note] InnoDB: The InnoDB memory heap is disabled2016-10-25 14:27:40 3972 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions2016-10-25 14:27:40 3972 [Note] InnoDB: Memory barrier is not used2016-10-25 14:27:40 3972 [Note] InnoDB: Compressed tables use zlib 1.2.32016-10-25 14:27:40 3972 [Note] InnoDB: Not using CPU crc32 instructions2016-10-25 14:27:40 3972 [Note] InnoDB: Initializing buffer pool, size = 128.0M2016-10-25 14:27:40 3972 [Note] InnoDB: Completed initialization of buffer pool2016-10-25 14:27:40 3972 [Note] InnoDB: Highest supported file format is Barracuda.2016-10-25 14:27:40 3972 [Note] InnoDB: Log scan progressed past the checkpoint lsn 494632016-10-25 14:27:40 3972 [Note] InnoDB: Database was not shutdown normally!2016-10-25 14:27:40 3972 [Note] InnoDB: Starting crash recovery.2016-10-25 14:27:40 3972 [Note] InnoDB: Reading tablespace information from the .ibd files...2016-10-25 14:27:40 3972 [Note] InnoDB: Restoring possible half-written data pages 2016-10-25 14:27:40 3972 [Note] InnoDB: from the doublewrite buffer...InnoDB: Doing recovery: scanned up to log sequence number 16006072016-10-25 14:27:41 3972 [Note] InnoDB: Starting an apply batch of log records to the database...InnoDB: Progress in percent: 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 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 completed2016-10-25 14:27:41 3972 [Note] InnoDB: 128 rollback segment(s) are active.2016-10-25 14:27:41 3972 [Note] InnoDB: Waiting for purge to start2016-10-25 14:27:41 3972 [Note] InnoDB: 5.6.34 started; log sequence number 16006072016-10-25 14:27:41 3972 [Note] Server hostname (bind-address): ’*’; port: 33062016-10-25 14:27:41 3972 [Note] IPv6 is available.2016-10-25 14:27:41 3972 [Note] - ’::’ resolves to ’::’;2016-10-25 14:27:41 3972 [Note] Server socket created on IP: ’::’.2016-10-25 14:27:41 3972 [ERROR] Fatal error: Can’t open and lock privilege tables: Table ’mysql.user’ doesn’t exist

網上方法失敗:

D:mysql-5.6.34-winx64bin>mysql_upgrade -u root -pEnter password:Looking for ’mysql.exe’ as: D:mysql-5.6.34-winx64binmysql.exeLooking for ’mysqlcheck.exe’ as: D:mysql-5.6.34-winx64binmysqlcheck.exeError: Failed while fetching Server version! Could be due to unauthorized access.FATAL ERROR: Upgrade failed

問題解答

回答1:

你從別處拿來的 mysql 壓縮包釋放的路徑跟原來的路徑一致嗎?如果不一致,你需要配置 my.cnf/my.ini 重新設置下 datadir 為你目前的 data 目錄位置再嘗試啟動,留意下配置里是不是還有其他路徑類的配置。

補充,給你搜了篇 http://zhidao.baidu.com/quest... 看能幫上你不?

相關文章:
主站蜘蛛池模板: 日韩欧美一级毛片在线 | 日本黄色一级网站 | 外国成人xxx在线视频 | 婷婷色香 | 草草视频在线 | 黑人香蕉又粗又大视频免费 | 九九视频高清视频免费观看 | 日韩爱爱网 | 嗯 用劲 好爽 好深 免费视频 | 日本不卡毛片一二三四 | 成人在线免费观看网站 | 国产伦子一区二区三区 | 日韩最新视频一区二区三 | 国产欧美一区二区精品性色 | 日韩小视频在线播放 | 亚洲一区二区三区首页 | 日本a在线观看 | 91精品国产手机 | 国产一区二区精品 | 国产成人免费观看在线视频 | 日韩亚洲综合精品国产 | 欧美日本一道本 | 毛片免费软件 | 色婷婷亚洲综合五月 | 在线一区 | www.日本黄| 欧美一级录像 | 黄色录像一级片 | 亚洲午夜精品 | 欧美图片一区二区三区 | 久久毛片免费 | 特黄日韩免费一区二区三区 | 一级日本强免费 | 久久久久日韩精品免费观看网 | 91福利一区二区三区 | 国产一二在线观看视频网站 | 欧美h网| 成人午夜视频在线观看 | 国产a级特黄的片子视频 | 美国特级片 | 久久本道综合色狠狠五月 |