|
本帖最后由 guohanchen21 于 2021-1-30 04:24 编辑
我的是小米mini路由128M的内存的,通过多次尝试,发现是未能成功安装mysql,安装中提示内存不足,报错退出.请问该如何处理
Jan 30 04:12:37 [mysqld]: stop
Jan 30 04:12:48 【lnmp】: Could not find plugin directory.
Jan 30 04:12:48 【lnmp】: Will continue with "/opt/lib/mariadb/plugin".
Jan 30 04:12:48 【lnmp】: Installing MariaDB/MySQL system tables in /opt/var/mysql/ ...
Jan 30 04:12:48 【lnmp】: 2021-01-30 4:12:48 0 [ERROR] mysqld: Out of memory (Needed 130760704 bytes)
Jan 30 04:12:48 【lnmp】: 2021-01-30 4:12:48 0 [ERROR] mysqld: Out of memory (Needed 98058240 bytes)
Jan 30 04:12:48 【lnmp】: 2021-01-30 4:12:48 0 [ERROR] InnoDB: mmap(134217728 bytes) failed; errno 12
Jan 30 04:12:48 【lnmp】: 2021-01-30 4:12:48 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
Jan 30 04:12:48 【lnmp】: 2021-01-30 4:12:48 0 [ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
Jan 30 04:12:48 【lnmp】: double free or corruption (out)
Jan 30 04:12:48 【lnmp】: 210130 4:12:48 [ERROR] mysqld got signal 6 ;
Jan 30 04:12:48 【lnmp】: This could be because you hit a bug. It is also possible that this binary
Jan 30 04:12:48 【lnmp】: or one of the libraries it was linked against is corrupt, improperly built,
Jan 30 04:12:48 【lnmp】: or misconfigured. This error can also be caused by malfunctioning hardware.
Jan 30 04:12:48 【lnmp】:
Jan 30 04:12:48 【lnmp】: To report this bug, see https://mariadb.com/kb/en/reporting-bugs
Jan 30 04:12:48 【lnmp】:
Jan 30 04:12:48 【lnmp】: We will try our best to scrape up some info that will hopefully help
Jan 30 04:12:48 【lnmp】: diagnose the problem, but since we have already crashed,
Jan 30 04:12:48 【lnmp】: something is definitely wrong and this may fail.
Jan 30 04:12:48 【lnmp】:
Jan 30 04:12:48 【lnmp】: Server version: 10.4.10-MariaDB
Jan 30 04:12:48 【lnmp】: key_buffer_size=25165824
Jan 30 04:12:48 【lnmp】: read_buffer_size=131072
Jan 30 04:12:48 【lnmp】: max_used_connections=0
Jan 30 04:12:48 【lnmp】: max_threads=153
Jan 30 04:12:48 【lnmp】: thread_count=0
Jan 30 04:12:48 【lnmp】: It is possible that mysqld could use up to
Jan 30 04:12:48 【lnmp】: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 359918 K bytes of memory
Jan 30 04:12:48 【lnmp】:
Jan 30 04:12:48 【lnmp】: Thread pointer: 0x0
Jan 30 04:12:48 【lnmp】: Attempting backtrace. You can use the following information to find out
Jan 30 04:12:48 【lnmp】: where mysqld died. If you see no messages after this, something went
Jan 30 04:12:48 【lnmp】: terribly wrong...
Jan 30 04:12:48 【lnmp】: stack_bottom = 0x0 thread_stack 0x30000
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|