最近,我在 Windows 10 上安装了 xampp,启动 MySQL 后,我尝试点击“管理”按钮,它打开了一个网页:
Not Found
HTTP Error 404. The requested resource is not found.
当我查看 htdocs 目录时,phpmyadmin 目录就在那里,但它是空的。有人能告诉我,为什么我不能拥有最新安装的 XAMP 的 MySQL 管理员吗?这是我的 mysql_error.log 文件的最后一部分:
2016-05-31 14:55:54 3852 [Note] Event Scheduler: Purging the queue. 0 events
2016-05-31 14:55:54 11364 [Note] InnoDB: FTS optimize thread exiting.
2016-05-31 14:55:54 3852 [Note] InnoDB: Starting shutdown...
2016-05-31 14:55:55 3852 [Note] InnoDB: Shutdown completed; log sequence number 1835057
2016-05-31 14:55:55 3852 [Note] c:\xampp\mysql\bin\mysqld.exe: Shutdown complete
2016-05-31 14:59:23 1ec0 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-05-31 14:59:24 7872 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-05-31 14:59:24 7872 [Note] InnoDB: The InnoDB memory heap is disabled
2016-05-31 14:59:24 7872 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2016-05-31 14:59:24 7872 [Note] InnoDB: Memory barrier is not used
2016-05-31 14:59:24 7872 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-05-31 14:59:24 7872 [Note] InnoDB: Using generic crc32 instructions
2016-05-31 14:59:24 7872 [Note] InnoDB: Initializing buffer pool, size = 16.0M
2016-05-31 14:59:24 7872 [Note] InnoDB: Completed initialization of buffer pool
2016-05-31 14:59:24 7872 [Note] InnoDB: Highest supported file format is Barracuda.
2016-05-31 14:59:24 7872 [Note] InnoDB: 128 rollback segment(s) are active.
2016-05-31 14:59:24 7872 [Note] InnoDB: Waiting for purge to start
2016-05-31 14:59:24 7872 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1835057
2016-05-31 14:59:24 11404 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-05-31 14:59:24 7872 [Note] Plugin 'FEEDBACK' is disabled.
2016-05-31 14:59:24 7872 [Note] Server socket created on IP: '::'.
2016-05-31 14:59:24 7872 [Note] c:\xampp\mysql\bin\mysqld.exe: ready for connections.
Version: '10.1.13-MariaDB' socket: '' port: 3306 mariadb.org binary distribution
更新:
安装后,htdocs中的phpadmin目录为空。另外,我已经查看了这些帖子,但仍然没有找到解决方案:I can not access phpMyAdmin on XAMPP和 PHPMyadmin xampp error
最佳答案
只需要使用正确的端口,因为我已经将 Apache 的默认端口 80 修改为:
关于xampp 中缺少 phpmyadmin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37555787/