无法连接到phpmyadmin(HY000 / 1130):不允许主机“ localhost”连接到此MariaDB服务器

时间:2019-08-29 20:40:41

标签: mysql

我不确定发生了什么,但这是第二次发生此错误,我不确定为什么会发生。这既令人沮丧又耗时。我不得不扔掉数据库并使用备份,但是这肯定不是长期解决方案吗?

我没有做任何更改,并且以前可以正常使用。

这是我的日志:

2019-08-29 22:33:59 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-08-29 22:33:59 0 [Note] InnoDB: Uses event mutexes
2019-08-29 22:33:59 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-08-29 22:33:59 0 [Note] InnoDB: Number of pools: 1
2019-08-29 22:33:59 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-08-29 22:33:59 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-08-29 22:33:59 0 [Note] InnoDB: Completed initialization of buffer pool
2019-08-29 22:33:59 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2514484
2019-08-29 22:33:59 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-08-29 22:33:59 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-08-29 22:33:59 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-08-29 22:33:59 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-08-29 22:33:59 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-08-29 22:33:59 0 [Note] InnoDB: Waiting for purge to start
2019-08-29 22:33:59 0 [Note] InnoDB: 10.3.16 started; log sequence number 2514493; transaction id 1391
2019-08-29 22:33:59 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-08-29 22:33:59 0 [Note] InnoDB: Buffer pool(s) load completed at 190829 22:33:59
2019-08-29 22:33:59 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-08-29 22:33:59 0 [Note] Server socket created on IP: '::'.

这是工作时的日志:

2019-08-29 19:38:56 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2019-08-29 19:38:56 0 [Note] InnoDB: Uses event mutexes
2019-08-29 19:38:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-08-29 19:38:56 0 [Note] InnoDB: Number of pools: 1
2019-08-29 19:38:56 0 [Note] InnoDB: Using SSE2 crc32 instructions
2019-08-29 19:38:56 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2019-08-29 19:38:56 0 [Note] InnoDB: Completed initialization of buffer pool
2019-08-29 19:38:56 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=2514387
2019-08-29 19:38:57 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2019-08-29 19:38:57 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2019-08-29 19:38:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-08-29 19:38:57 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-08-29 19:38:58 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2019-08-29 19:38:58 0 [Note] InnoDB: Waiting for purge to start
2019-08-29 19:38:58 0 [Note] InnoDB: Waiting for purge to start
2019-08-29 19:38:59 0 [Note] InnoDB: Waiting for purge to start
2019-08-29 19:38:59 0 [Note] InnoDB: 10.3.16 started; log sequence number 2514396; transaction id 1391
2019-08-29 19:38:59 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2019-08-29 19:38:59 0 [Note] InnoDB: Buffer pool(s) load completed at 190829 19:38:59
2019-08-29 19:38:59 0 [Note] Plugin 'FEEDBACK' is disabled.
2019-08-29 19:38:59 0 [Note] Server socket created on IP: '::'.
2019-08-29 21:53:34 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions

我可以看到IP为空,但是为什么呢?我在这里看到过类似的问题,但是这些答案似乎都不起作用,并且放弃了我以前的工作,使用备份不应该是解决方案,并且坦率地对XAMPP感到厌烦,因为我已经看到了早在几年前就被报告为错误,并且没有采取任何措施来解决此问题。

0 个答案:

没有答案