mysql啟動(dòng)過(guò)程中報(bào)錯(cuò)_MySQL
來(lái)源:懂視網(wǎng)
責(zé)編:小采
時(shí)間:2020-11-09 20:04:33
mysql啟動(dòng)過(guò)程中報(bào)錯(cuò)_MySQL
mysql啟動(dòng)過(guò)程中報(bào)錯(cuò)_MySQL:今天給阿里云的機(jī)器安裝mysql,安裝完成后,啟動(dòng)的時(shí)候報(bào)錯(cuò)The server quit without updating PID file (/data/mysql/AY140710163143738066Z.pid).mysql的配置我用的是默認(rèn)配置,沒(méi)有新添加錯(cuò)誤,查看了下錯(cuò)誤日志:2014-07-11 10:14:25
導(dǎo)讀mysql啟動(dòng)過(guò)程中報(bào)錯(cuò)_MySQL:今天給阿里云的機(jī)器安裝mysql,安裝完成后,啟動(dòng)的時(shí)候報(bào)錯(cuò)The server quit without updating PID file (/data/mysql/AY140710163143738066Z.pid).mysql的配置我用的是默認(rèn)配置,沒(méi)有新添加錯(cuò)誤,查看了下錯(cuò)誤日志:2014-07-11 10:14:25
今天給阿里云的機(jī)器安裝mysql,安裝完成后,啟動(dòng)的時(shí)候報(bào)錯(cuò)The server quit without updating PID file (/data/mysql/AY140710163143738066Z.pid).
mysql的配置我用的是默認(rèn)配置,沒(méi)有新添加錯(cuò)誤,查看了下錯(cuò)誤日志:
2014-07-11 10:14:25 2267 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2014-07-11 10:14:25 2267 [ERROR] Plugin 'InnoDB' init function returned error.
2014-07-11 10:14:25 2267 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2014-07-11 10:14:25 2267 [ERROR] Unknown/unsupported storage engine: InnoDB
2014-07-11 10:14:25 2267 [ERROR] Aborting
大體意思應(yīng)該是內(nèi)存不夠,因?yàn)榈纳暾?qǐng)的機(jī)器的內(nèi)存是512M,所以修改了下配置文件,添加入下內(nèi)容
innodb_buffer_pool_size = 16M
innodb_additional_mem_pool_size = 2M
innodb_log_file_size = 5M
innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 1
innodb_lock_wait_timeout = 50
重新初始化數(shù)據(jù)庫(kù),啟動(dòng)正常了。
聲明:本網(wǎng)頁(yè)內(nèi)容旨在傳播知識(shí),若有侵權(quán)等問(wèn)題請(qǐng)及時(shí)與本網(wǎng)聯(lián)系,我們將在第一時(shí)間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com
mysql啟動(dòng)過(guò)程中報(bào)錯(cuò)_MySQL
mysql啟動(dòng)過(guò)程中報(bào)錯(cuò)_MySQL:今天給阿里云的機(jī)器安裝mysql,安裝完成后,啟動(dòng)的時(shí)候報(bào)錯(cuò)The server quit without updating PID file (/data/mysql/AY140710163143738066Z.pid).mysql的配置我用的是默認(rèn)配置,沒(méi)有新添加錯(cuò)誤,查看了下錯(cuò)誤日志:2014-07-11 10:14:25