国产成人精品久久免费动漫-国产成人精品天堂-国产成人精品区在线观看-国产成人精品日本-a级毛片无码免费真人-a级毛片毛片免费观看久潮喷

您的位置:首頁(yè)技術(shù)文章
文章詳情頁(yè)

mysql-配置 - MySQL錯(cuò)誤,時(shí)不時(shí)自動(dòng)掛掉,無(wú)法啟動(dòng)

瀏覽:102日期:2022-06-12 14:49:09

問(wèn)題描述

mysql時(shí)不時(shí)掛掉,無(wú)法啟動(dòng),請(qǐng)問(wèn)是什么原因啊?

my.cnf配置:

[client]port = 3306socket = /tmp/mysql.sock[mysqld]port = 3306socket = /tmp/mysql.sockskip-external-lockinglog-error=/alidata/log/mysql/error.logkey_buffer_size = 16Mmax_allowed_packet = 1Mtable_open_cache = 64sort_buffer_size = 512Knet_buffer_length = 8Kread_buffer_size = 256Kread_rnd_buffer_size = 512Kmyisam_sort_buffer_size = 8Mskip-name-resolve

log-bin=mysql-binbinlog_format=mixedserver-id = 1

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

[mysqldump]quickmax_allowed_packet = 16M

[mysql]no-auto-rehash

[myisamchk]key_buffer_size = 20Msort_buffer_size = 20Mread_buffer = 2Mwrite_buffer = 2M

[mysqlhotcopy]interactive-timeoutexpire_logs_days = 5max_binlog_size = 1000M

錯(cuò)誤日志log:170421 14:16:49 mysqld_safe Number of processes running now: 0170421 14:16:49 mysqld_safe mysqld restarted2017-04-21 14:16:49 1480 [Note] Plugin ’FEDERATED’ is disabled.2017-04-21 14:16:49 1480 [Note] InnoDB: Using atomics to ref count buffer pool pages2017-04-21 14:16:49 1480 [Note] InnoDB: The InnoDB memory heap is disabled2017-04-21 14:16:49 1480 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins2017-04-21 14:16:49 1480 [Note] InnoDB: Memory barrier is not used2017-04-21 14:16:49 1480 [Note] InnoDB: Compressed tables use zlib 1.2.32017-04-21 14:16:49 1480 [Note] InnoDB: Using Linux native AIO2017-04-21 14:16:49 1480 [Note] InnoDB: Using CPU crc32 instructions2017-04-21 14:16:49 1480 [Note] InnoDB: Initializing buffer pool, size = 128.0MInnoDB: mmap(137363456 bytes) failed; errno 122017-04-21 14:16:49 1480 [ERROR] InnoDB: Cannot allocate memory for the buffer pool2017-04-21 14:16:49 1480 [ERROR] Plugin ’InnoDB’ init function returned error.2017-04-21 14:16:49 1480 [ERROR] Plugin ’InnoDB’ registration as a STORAGE ENGINE failed.2017-04-21 14:16:49 1480 [ERROR] Unknown/unsupported storage engine: InnoDB2017-04-21 14:16:49 1480 [ERROR] Aborting

2017-04-21 14:16:49 1480 [Note] Binlog end2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’partition’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’PERFORMANCE_SCHEMA’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’BLACKHOLE’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_DATAFILES’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_TABLESPACES’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_FOREIGN_COLS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_FOREIGN’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_FIELDS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_COLUMNS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_INDEXES’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_TABLESTATS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_SYS_TABLES’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_FT_INDEX_TABLE’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_FT_INDEX_CACHE’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_FT_CONFIG’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_FT_BEING_DELETED’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_FT_DELETED’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_FT_DEFAULT_STOPWORD’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_METRICS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_BUFFER_POOL_STATS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_BUFFER_PAGE_LRU’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_BUFFER_PAGE’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_CMP_PER_INDEX_RESET’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_CMP_PER_INDEX’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_CMPMEM_RESET’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_CMPMEM’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_CMP_RESET’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_CMP’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_LOCK_WAITS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_LOCKS’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’INNODB_TRX’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’ARCHIVE’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’MyISAM’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’CSV’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’MRG_MYISAM’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’MEMORY’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’sha256_password’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’mysql_old_password’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’mysql_native_password’2017-04-21 14:16:49 1480 [Note] Shutting down plugin ’binlog’2017-04-21 14:16:49 1480 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete

170421 14:16:49 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ23czua4kgZ.pid ended

問(wèn)題解答

回答1:

內(nèi)存不夠了 都沒(méi)看到你配置的mysql內(nèi)存多少 一般占用os的75%

回答2:

InnoDB: Cannot allocate memory for the buffer pool

看看這句,內(nèi)存不夠了。你自己百度的話(huà)一定要找準(zhǔn)錯(cuò)誤信息

回答3:

不設(shè)置內(nèi)存參數(shù)innodb_buffer_pool_size的話(huà),5.6以上默認(rèn)使用128M,內(nèi)存不夠。建議使用低版本5.5或者增加內(nèi)存

回答4:

內(nèi)存的問(wèn)題,不夠用了

回答5:

應(yīng)該是這個(gè)原因: Unknown/unsupported storage engine。也可能是innodb_buffer_pool_size設(shè)置太小了。

回答6:

[ERROR] InnoDB: Cannot allocate memory for the buffer pool錯(cuò)誤很明顯了,修改您的innodb_buffer_pool_size設(shè)置即可。

主站蜘蛛池模板: 欧美日韩精品乱国产538 | 日韩精品一区二区三区中文在线 | 一级片在线观看视频 | 日本b站一卡二卡乱码入口 日本s色大片在线观看 | 国产a∨一区二区三区香蕉小说 | 日韩欧美一区二区在线观看 | 成人久久18免费网站入口 | 成人18免费网站 | 杨晨晨福利视频 | 午夜私人影院免费体验区 | 亚洲精品成人一区 | 精品国产品香蕉在线观看 | 国产成人精品综合久久久软件 | wwwxxx欧美| 农村寡妇女人一级毛片 | 亚州免费一级毛片 | 92看片淫黄大片看国产片 | 亚洲国产精品一区二区三区久久 | 久爱综合| 2022国产精品网站在线播放 | 久久国产精品99久久久久久牛牛 | 欧美日韩在线永久免费播放 | 日本护士一级毛片在线播放 | 日本在线加勒比 | 日韩一级在线视频 | 国产男女乱淫真视频全程播放 | 美女黄页网站免费进入 | 国产17部性孕妇孕交在线 | 日韩欧美精品综合一区二区三区 | 91aaa免费免费国产在线观看 | 日韩精品一区二区三区中文在线 | 亚洲国产cao | www.av在线.com| 色视频网站大全免费 | 久久国产乱子伦精品免费不卡 | 国产在线视频欧美亚综合 | 亚洲日韩精品欧美一区二区一 | 日韩精品免费一区二区 | 激情午夜天 | 国产精品亚洲综合 | 日韩欧美一区二区中文字幕 |