I'm using MySQL(10.4.11-MariaDB) with XAMPP(PHP 7.4.3).
Using phpMyAdmin I try to execute this query: SELECT AES_ENCRYPT("MyText", "key");
As a result I get an error: #2006 - MySQL server has gone away and in XAMPP Error: MySQL shutdown unexpectedly.
In mysql_error.log appears nothing about this.
How to fix this?
UPDATE
I cleared mysql_error.log. Started MySQL, executed query to crash MySQL.
This is content of mysql_error.log:
InnoDB: using atomic writes.
2020-03-18 11:37:55 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-03-18 11:37:55 0 [Note] InnoDB: Uses event mutexes
2020-03-18 11:37:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-03-18 11:37:55 0 [Note] InnoDB: Number of pools: 1
2020-03-18 11:37:55 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-03-18 11:37:55 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-03-18 11:37:55 0 [Note] InnoDB: Completed initialization of buffer pool
2020-03-18 11:37:55 0 [Note] InnoDB: The log sequence number 0 in the system tablespace does not match the log sequence number 47116 in the ib_logfiles!
2020-03-18 11:37:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-03-18 11:37:55 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-03-18 11:37:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-03-18 11:37:55 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-03-18 11:37:55 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-03-18 11:37:55 0 [Note] InnoDB: Waiting for purge to start
2020-03-18 11:37:55 0 [Note] InnoDB: 10.4.11 started; log sequence number 47116; transaction id 9
2020-03-18 11:37:55 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-03-18 11:37:55 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-03-18 11:37:55 0 [Note] InnoDB: Buffer pool(s) load completed at 200318 11:37:55
2020-03-18 11:37:55 0 [Note] Server socket created on IP: '::'.
Related
I have problem in Xampp when i want to start MySQL and get error "Error: MySQL shutdown unexpectedly."
Here the error log
2022-07-28 9:47:14 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2022-07-28 9:47:14 0 [Note] InnoDB: Uses event mutexes
2022-07-28 9:47:14 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-07-28 9:47:14 0 [Note] InnoDB: Number of pools: 1
2022-07-28 9:47:14 0 [Note] InnoDB: Using SSE2 crc32 instructions
2022-07-28 9:47:14 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2022-07-28 9:47:14 0 [Note] InnoDB: Completed initialization of buffer pool
2022-07-28 9:47:16 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2022-07-28 9:47:16 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-07-28 9:47:16 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-07-28 9:47:16 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2022-07-28 9:47:16 0 [Note] InnoDB: Waiting for purge to start
2022-07-28 9:47:16 0 [Note] InnoDB: 10.4.11 started; log sequence number 504726462; transaction id 1232685
2022-07-28 9:47:16 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2022-07-28 9:47:16 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-07-28 9:47:16 0 [Note] InnoDB: Buffer pool(s) load completed at 220728 9:47:16
2022-07-28 9:47:16 0 [Note] Server socket created on IP: '::'.
What can i do to solve this?
I have been using this for a few days with no issue but yesterday the mysql server refused to start. I have rebooted everything and it is still doing the same thing. Here is part of the log file. Please let me know how to get it back up and running and why it is doing this? This is windows 10 operating systems. Also, Apache server still starts fine.
**InnoDB: using atomic writes.
2020-11-24 15:25:23 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-11-24 15:25:23 0 [Note] InnoDB: Uses event mutexes
2020-11-24 15:25:23 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-24 15:25:23 0 [Note] InnoDB: Number of pools: 1
2020-11-24 15:25:23 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-24 15:25:23 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-11-24 15:25:23 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-24 15:25:23 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300288
2020-11-24 15:25:24 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-11-24 15:25:24 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-11-24 15:25:24 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-11-24 15:25:24 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-11-24 15:25:24 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-11-24 15:25:24 0 [Note] InnoDB: Waiting for purge to start
2020-11-24 15:25:24 0 [Note] InnoDB: 10.4.16 started; log sequence number 300297; transaction id 170
2020-11-24 15:25:24 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-11-24 15:25:24 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-24 15:25:24 0 [Note] InnoDB: Buffer pool(s) load completed at 201124 15:25:24
2020-11-24 15:25:24 0 [Note] Server socket created on IP: '::'.
2020-11-24 19:42:47 0 [Note] mysqld.exe: Aria engine: starting recovery
recovered pages: 0% 13% 55% 81% 94% 100% (0.0 seconds); tables to flush: 2 1 0
(0.1 seconds);
2020-11-24 19:42:48 0 [Note] mysqld.exe: Aria engine: recovery done
InnoDB: using atomic writes.
2020-11-24 19:42:48 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-11-24 19:42:48 0 [Note] InnoDB: Uses event mutexes
2020-11-24 19:42:48 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-24 19:42:48 0 [Note] InnoDB: Number of pools: 1
2020-11-24 19:42:48 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-24 19:42:48 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-11-24 19:42:48 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-24 19:42:48 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=458268
2020-11-24 19:42:48 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-11-24 19:42:48 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-11-24 19:42:48 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-11-24 19:42:48 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-11-24 19:42:48 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-11-24 19:42:48 0 [Note] InnoDB: Waiting for purge to start
2020-11-24 19:42:48 0 [Note] InnoDB: 10.4.16 started; log sequence number 458277; transaction id 670
2020-11-24 19:42:48 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-11-24 19:42:48 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-24 19:42:48 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.
2020-11-25 11:28:55 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-11-25 11:28:55 0 [Note] InnoDB: Uses event mutexes
2020-11-25 11:28:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-11-25 11:28:55 0 [Note] InnoDB: Number of pools: 1
2020-11-25 11:28:55 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-11-25 11:28:55 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-11-25 11:28:55 0 [Note] InnoDB: Completed initialization of buffer pool
2020-11-25 11:28:55 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=458587
2020-11-25 11:28:55 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-11-25 11:28:55 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-11-25 11:28:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-11-25 11:28:55 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-11-25 11:28:55 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-11-25 11:28:55 0 [Note] InnoDB: Waiting for purge to start
2020-11-25 11:28:55 0 [Note] InnoDB: 10.4.16 started; log sequence number 458596; transaction id 693
2020-11-25 11:28:55 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-11-25 11:28:55 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-11-25 11:28:55 0 [Note] Server socket created on IP: '::'.
InnoDB: using atomic writes.**
Copy from xampp/mysql/backup folder and paste in xampp/mysql/data folder except ibdata1 file.
If you replace ibdata1 file from xampp/mysql/data then some database you will get error table does not exist.
found this here...
XAMPP MySQL service crash after reboot
I'm using XAMPP version 3.2.4 and it was working normally for a while, but suddenly today when trying to start MYSQL it refuse to start and logs file display:
InnoDB: using atomic writes.
2020-08-03 12:08:25 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-08-03 12:08:25 0 [Note] InnoDB: Uses event mutexes
2020-08-03 12:08:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-08-03 12:08:25 0 [Note] InnoDB: Number of pools: 1
2020-08-03 12:08:25 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-08-03 12:08:25 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-08-03 12:08:25 0 [Note] InnoDB: Completed initialization of buffer pool
2020-08-03 12:08:26 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-08-03 12:08:26 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-08-03 12:08:26 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-08-03 12:08:26 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-08-03 12:08:26 0 [Note] InnoDB: Waiting for purge to start
2020-08-03 12:08:26 0 [Note] InnoDB: 10.4.11 started; log sequence number 2055444129; transaction id 138579
2020-08-03 12:08:26 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-08-03 12:08:26 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-08-03 12:08:26 0 [Note] Server socket created on IP: '::'.
and as you see all are notes and no error but when I check to windows event viewer I found this error:
Failed to create a new master info file (file
'C:\xampp\mysql\data\master-2020#002d08#002d03#0020#00201#003a01#003a27#002016#0020#005bwarning#005d#0020aborted#0020connection#002016#0020to#0020db#003a#0020#0027ts_ninja#0027#0020user#003a#0020#0027root#0027#0020host#003a#0020#0027localhost#0027#0020#0028got#0020an#0020error#0020reading#0020communication#0020packets#0029#000d.info',
errno 2)
, I tried to change max_allowed_packet=128M from 1M but still the same, any help will be appreciated (note that Apache successfully start)
I have installed xampp server in my pc. First time creating database and insert data into database using phpmyadmin page was error free. For some table more than 1GB size i changed some configuration file settings like memory_limit, max_data_size. When I restarted the server and open the phpmyadmin page it is showing nothing (no error, no data). I don't understand the problem, already undo all configuration changes but still not working.
In MySQL log getting the following status :
2020-02-14 22:22:30 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-02-14 22:22:30 0 [Note] InnoDB: Uses event mutexes
2020-02-14 22:22:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-02-14 22:22:30 0 [Note] InnoDB: Number of pools: 1
2020-02-14 22:22:30 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-02-14 22:22:30 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk size = 16M
2020-02-14 22:22:30 0 [Note] InnoDB: Completed initialization of buffer pool
2020-02-14 22:22:30 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=300324
2020-02-14 22:22:31 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-02-14 22:22:31 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2020-02-14 22:22:31 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-02-14 22:22:31 0 [Note] InnoDB: Setting file 'D:\xampp\mysql\data\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2020-02-14 22:22:31 0 [Note] InnoDB: File 'D:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-02-14 22:22:31 0 [Note] InnoDB: Waiting for purge to start
2020-02-14 22:22:31 0 [Note] InnoDB: 10.4.11 started; log sequence number 300333; transaction id 171
2020-02-14 22:22:31 0 [Note] InnoDB: Loading buffer pool(s) from D:\xampp\mysql\data\ib_buffer_pool
2020-02-14 22:22:31 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-02-14 22:22:31 0 [Note] InnoDB: Buffer pool(s) load completed at 200214 22:22:31
2020-02-14 22:22:31 0 [Note] Server socket created on IP: '::'.
I am facing a problem in xampp, mysql doesn't running, i have searched a lot for a solution and tried a many of them, but no one fixed, my problem, i think the error log is different this time,
errors log :
2020-01-21 13:12:04 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2020-01-21 13:12:04 0 [Note] InnoDB: Uses event mutexes
2020-01-21 13:12:04 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2020-01-21 13:12:04 0 [Note] InnoDB: Number of pools: 1
2020-01-21 13:12:04 0 [Note] InnoDB: Using SSE2 crc32 instructions
2020-01-21 13:12:04 0 [Note] InnoDB: Initializing buffer pool, total size = 16M, instances = 1, chunk
size = 16M
2020-01-21 13:12:04 0 [Note] InnoDB: Completed initialization of buffer pool
2020-01-21 13:12:04 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2020-01-21 13:12:04 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2020-01-21 13:12:04 0 [Note] InnoDB: Setting file 'C:\xampp\mysql\data\ibtmp1' size to 12 MB.
Physically writing the file full; Please wait ...
2020-01-21 13:12:04 0 [Note] InnoDB: File 'C:\xampp\mysql\data\ibtmp1' size is now 12 MB.
2020-01-21 13:12:04 0 [Note] InnoDB: Waiting for purge to start
2020-01-21 13:12:04 0 [Note] InnoDB: 10.4.6 started; log sequence number 113908; transaction id 9
2020-01-21 13:12:04 0 [Note] InnoDB: Loading buffer pool(s) from C:\xampp\mysql\data\ib_buffer_pool
2020-01-21 13:12:04 0 [Note] Plugin 'FEEDBACK' is disabled.
2020-01-21 13:12:04 0 [Note] InnoDB: Buffer pool(s) load completed at 200121 13:12:04
2020-01-21 13:12:04 0 [Note] Server socket created on IP: '::'.