在xampp关闭之后,mysql也停止了工作,如何解决这个问题?

oxiaedzo  于 2021-06-25  发布在  Mysql
关注(0)|答案(1)|浏览(349)

我用xampp运行mysql时出错。
这是日志,这个错误出现在我启动xampp后,我在xampp中运行ips,mysql的端口也不会显示在控制面板上,只有当我删除mysql data folder时,我指的是它的所有内容,除了我的数据库。
日志:

2018-05-08 19:14:50 450 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
2018-05-08 19:14:50 1104 [Note] InnoDB: innodb_empty_free_list_algorithm has been changed to legacy because of small buffer pool size. In order to use backoff, increase buffer pool at least up to 20MB.

2018-05-08 19:14:50 1104 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-05-08 19:14:50 1104 [Note] InnoDB: The InnoDB memory heap is disabled
2018-05-08 19:14:50 1104 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-05-08 19:14:50 1104 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-05-08 19:14:50 1104 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-05-08 19:14:50 1104 [Note] InnoDB: Using generic crc32 instructions
2018-05-08 19:14:50 1104 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2018-05-08 19:14:50 1104 [Note] InnoDB: Completed initialization of buffer pool
2018-05-08 19:14:50 1104 [Note] InnoDB: The first specified data file C:\xampp\mysql\data\ibdata1 did not exist: a new database to be created!
2018-05-08 19:14:50 1104 [Note] InnoDB: Setting file C:\xampp\mysql\data\ibdata1 size to 10 MB
2018-05-08 19:14:50 1104 [Note] InnoDB: Database physically writes the file full: wait...
2018-05-08 19:14:51 1104 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile101 size to 5 MB
2018-05-08 19:14:51 1104 [Note] InnoDB: Setting log file C:\xampp\mysql\data\ib_logfile1 size to 5 MB
2018-05-08 19:14:51 1104 [Note] InnoDB: Renaming log file C:\xampp\mysql\data\ib_logfile101 to C:\xampp\mysql\data\ib_logfile0
2018-05-08 19:14:51 1104 [Warning] InnoDB: New log files created, LSN=45883
2018-05-08 19:14:51 1104 [Note] InnoDB: Doublewrite buffer not found: creating new
2018-05-08 19:14:52 1104 [Note] InnoDB: Doublewrite buffer created
2018-05-08 19:14:53 1104 [Note] InnoDB: 128 rollback segment(s) are active.
2018-05-08 19:14:53 1104 [Warning] InnoDB: Creating foreign key constraint system tables.
2018-05-08 19:14:53 1104 [Note] InnoDB: Foreign key constraint system tables created
2018-05-08 19:14:53 1104 [Note] InnoDB: Creating tablespace and datafile system tables.
2018-05-08 19:14:53 1104 [Note] InnoDB: Tablespace and datafile system tables created.
2018-05-08 19:14:53 1104 [Note] InnoDB: Waiting for purge to start
2018-05-08 19:14:54 1104 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 0
2018-05-08 19:14:54 1944 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-05-08 19:14:54 1104 [Note] Plugin 'FEEDBACK' is disabled.
2018-05-08 19:14:55 1104 [Note] Server socket created on IP: '::'.
2018-05-08 19:14:56 5308 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:56 5308 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine
2018-05-08 19:14:56 1104 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.21-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
2018-05-08 19:14:57 6036 [Warning] InnoDB: Cannot open table ips/core_cache from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:57 3784 [Warning] InnoDB: Cannot open table ips/core_cache from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:57 6036 [Warning] InnoDB: Cannot open table ips/core_sessions from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:57 3784 [Warning] InnoDB: Cannot open table ips/core_sessions from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:58 6036 [Warning] InnoDB: Cannot open table ips/core_cache from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:58 6036 [Warning] InnoDB: Cannot open table ips/core_sessions from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:59 6036 [Warning] InnoDB: Cannot open table ips/core_cache from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:14:59 6036 [Warning] InnoDB: Cannot open table ips/core_sessions from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:15:00 3784 [Warning] InnoDB: Cannot open table ips/core_cache from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
2018-05-08 19:15:00 3784 [Warning] InnoDB: Cannot open table ips/core_sessions from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.

我主持和发展近6 gb的网站和论坛。
ps:我不能删除xampp并重新启动整个过程(我的意思是卸载xampp并将htdocs和数据库复制到新文件夹)
提前谢谢。

aurhwmvo

aurhwmvo1#

准确地说,你的帖子没有错误。只有警告和注解。
我猜你的内存和/或硬盘空间快用完了。

相关问题