Я использую Xampp на своем ноутбуке и работаю на локальном веб-сайте. Это работало просто отлично, но сегодня, когда я запускаю mysql службу вместе с apache, я получаю эту ошибку ниже:
4:53:43 PM [mysql] Status change detected: running
4:53:45 PM [mysql] Status change detected: stopped
4:53:45 PM [mysql] Error: MySQL shutdown unexpectedly.
4:53:45 PM [mysql] This may be due to a blocked port, missing dependencies,
4:53:45 PM [mysql] improper privileges, a crash, or a shutdown by another method.
4:53:45 PM [mysql] Press the Logs button to view error logs and check
4:53:45 PM [mysql] the Windows Event Viewer for more clues
4:53:45 PM [mysql] If you need more help, copy and post this
4:53:45 PM [mysql] entire log window on the forums
Когда я go на вкладке журналов, я получаю это:
2020-03-09 16:53:43 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-03-09 16:53:43 0 [Note] InnoDB: Uses event mutexes
2020-03-09 16:53:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-03-09 16:53:43 0 [Note] InnoDB: Number of pools: 1
2020-03-09 16:53:43 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-03-09 16:53:43 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-03-09 16:53:43 0 [Note] InnoDB: Completed initialization of buffer pool
2020-03-09 16:53:43 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-03-09 16:53:43 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-03-09 16:53:43 0 [Note] InnoDB: Setting file 'D:\XAMPP\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-03-09 16:53:43 0 [Note] InnoDB: File 'D:\XAMPP\mysql\data\ibtmp1' size is now 12 MB.
2020-03-09 16:53:43 0 [Note] InnoDB: Waiting for purge to start
2020-03-09 16:53:43 0 [Note] InnoDB: 10.4.8 started; log sequence number 69450429; transaction id 42048
2020-03-09 16:53:43 0 [Note] InnoDB: Loading buffer pool(s) from D:\XAMPP\mysql\data\ib_buffer_pool
2020-03-09 16:53:43 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-03-09 16:53:43 0 [Note] InnoDB: Buffer pool(s) load completed at 200309 16:53:43
2020-03-09 16:53:43 0 [Note] Server socket created on IP: '::'.
И на http://localhost/phpmyadmin/index.php
я получаю это:
MySQL said: Documentation
Cannot connect: invalid settings.
mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
Я не могу подчеркнуть это достаточно, я не могу потерять свою работу. Я перепробовал почти все исправления, которые мог найти в Интернете, порт 3306 не использовался ничем, не использовался даже mysql, так как я больше не могу найти этот сервис на моем p c. Я попытался заменить pma на root в "config.in c. php". Попытка удаления temp, но она все еще не работает.
Я добавляю, что mysql сервисы не могут быть найдены на моем ноутбуке (не в windows сервисах, не в процессах)