您好,登錄后才能下訂單哦!
在安裝了8.0.14之后,初始化的時候在my.cnf里設(shè)置了lower_case_table_names=1,安裝好了之后,啟動報錯:
2019-01-28T13:24:24.919463+08:00 0 [System] [MY-010116] [Server] /usr/local/mysql/bin/mysqld (mysqld 8.0.14) starting as process 24567 2019-01-28T13:24:25.339412+08:00 1 [ERROR] [MY-011087] [Server] Different lower_case_table_names settings for server ('1') and data dictionary ('0'). 2019-01-28T13:24:25.339709+08:00 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed. 2019-01-28T13:24:25.339903+08:00 0 [ERROR] [MY-010119] [Server] Aborting 2019-01-28T13:24:26.660278+08:00 0 [System] [MY-010910] [Server] /usr/local/mysql/bin/mysqld: Shutdown complete (mysqld 8.0.14) MySQL Community Server - GPL.
查看MySQL官方文檔,有記錄:
lower_case_table_names can only be configured when initializing the server. Changing the lower_case_table_names setting after the server is initialized is prohibited.
只有在初始化的時候設(shè)置 lower_case_table_names=1才有效,比如:
--initialize --lower-case-table-names=1
詳見
https://bugs.mysql.com/bug.php?id=90695
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。