XAMPP MySQL - Crash when execute AES_ENCRYPT

Viewed 311

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: '::'.
0 Answers
Related