Cuando abro XAMPP (xampp v3.2.4 en Windows 10) y hago clic en el botón Iniciar MySQL, me da un error. Lo había iniciado justo antes, pero ahora no está funcionando.
error:
12:50:26 PM [mysql] Status change detected: stopped 12:50:26 PM [mysql] Error: MySQL shutdown unexpectedly. 12:50:26 PM [mysql] This may be due to a blocked port, missing dependencies, 12:50:26 PM [mysql] improper privileges, a crash, or a shutdown by another method. 12:50:26 PM [mysql] Press the Logs button to view error logs and check 12:50:26 PM [mysql] the Windows Event Viewer for more clues 12:50:26 PM [mysql] If you need more help, copy and post this 12:50:26 PM [mysql] entire log window on the forumsentonces, verifico el registro:
InnoDB: using atomic writes. 2020-08-01 12:50:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 2020-08-01 12:50:25 0 [Note] InnoDB: Uses event mutexes 2020-08-01 12:50:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-08-01 12:50:25 0 [Note] InnoDB: Number of pools: 1 2020-08-01 12:50:25 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-08-01 12:50:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M 2020-08-01 12:50:25 0 [Note] InnoDB: Completed initialization of buffer pool 2020-08-01 12:50:25 0 [Note] InnoDB: 128 out of 128 rollback segments are active. 2020-08-01 12:50:25 0 [Note] InnoDB: Creating shared tablespace for temporary tables 2020-08-01 12:50:25 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ... 2020-08-01 12:50:25 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB. 2020-08-01 12:50:25 0 [Note] InnoDB: Waiting for purge to start 2020-08-01 12:50:25 0 [Note] InnoDB: 10.4.11 started; log sequence number 51764883; transaction id 105083 2020-08-01 12:50:25 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool 2020-08-01 12:50:25 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-08-01 12:50:25 0 [Note] Server socket created on IP: '::'.¿Cómo soluciono este error?
Lo arreglé usando este artículo:
Cambiar el nombre de la carpeta "datos"
Crear una nueva carpeta de "datos"
Copie el contenido de la carpeta "copia de seguridad"
Transferir todos los proyectos MySQL Base de datos, archivo de datos y archivos de registro
puede finalizar la tarea mysqld.exe o mysqld en el administrador de tareas. Luego ejecute de nuevo MySql. Funcionará. (Ingeniería On Off).