我是.NET开发人员,正在尝试开发一些PHP应用程序。
我在Windows上安装了XAMPP没有问题,然后正确地启动了Apache和MySQL。
之后,为了更新我的PHPMyAdmin版本,我遵循了以下文章:
https://www.ostraining.com/blog/coding/update-phpmyadmin/
但之后我的MySQL服务不再启动了。如果我打开日志,我会阅读以下行:
2016-12-21 23:22:26 21c4 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.
2016-12-21 23:22:26 8644 [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.
2016-12-21 23:22:26 8644 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-12-21 23:22:26 8644 [Note] InnoDB: The InnoDB memory heap is disabled
2016-12-21 23:22:26 8644 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-12-21 23:22:26 8644 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2016-12-21 23:22:26 8644 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-12-21 23:22:26 8644 [Note] InnoDB: Using generic crc32 instructions
2016-12-21 23:22:26 8644 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-12-21 23:22:26 8644 [Note] InnoDB: Completed initialization of buffer pool
2016-12-21 23:22:26 8644 [Note] InnoDB: Highest supported file format is Barracuda.
2016-12-21 23:22:26 8644 [Note] InnoDB: The log sequence numbers 115186280 and 115186280 in ibdata files do not match the log sequence number 115186320 in the ib_logfiles!
2016-12-21 23:22:26 8644 [Note] InnoDB: Database was not shutdown normally!
2016-12-21 23:22:26 8644 [Note] InnoDB: Starting crash recovery.
2016-12-21 23:22:26 8644 [Note] InnoDB: Reading tablespace information from the .ibd files...
2016-12-21 23:22:26 8644 [Note] InnoDB: Restoring possible half-written data pages
2016-12-21 23:22:26 8644 [Note] InnoDB: from the doublewrite buffer...
2016-12-21 23:22:26 8644 [Note] InnoDB: 128 rollback segment(s) are active.
2016-12-21 23:22:26 8644 [Note] InnoDB: Waiting for purge to start
2016-12-21 23:22:26 8644 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.32-79.0 started; log sequence number 115186320
2016-12-21 23:22:26 7700 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-12-21 23:22:26 8644 [Note] Plugin 'FEEDBACK' is disabled.
2016-12-21 23:22:26 8644 [Note] Server socket created on IP: '::'.
2016-12-21 23:22:26 8644 [ERROR] Fatal error: mysql.user table is damaged or in unsupported 3.20 format.
有人有同样的问题吗?
提前致谢
修改
有人指出,我的错误与Making MySQL work with utf-8 in my.cnf configuration file
相同然而,这种情况的解决方案对我不起作用。
我尝试执行mysql_upgrade
但该命令显然无效,因为mysql服务已停止。
修改
我从头开始重新安装XAMPP,和以前一样,它正确启动。但是,在几次重启后,它不再启动(总是出现相同的错误)。