XAMPP – How to solve “Error: MySQL shutdown unexpectedly”?

Method 1 (22 Dec 2021)
Stop MySQL.
Go to the C:/xampp/mysql directory and copy the data folder and keep it somewhere else (probably in another drive) as a backup.
Go to your original data folder (C:/xampp/mysql) and sort the files by ‘Type.’
Select the files that have the type INFO File and delete them (screenshot below).
Start MySQL. It should work now.

https://stackoverflow.com/questions/18022809/how-to-solve-error-mysql-shutdown-unexpectedly

Laragon server: big mysql table import when phpMyAdmin is timed out

UPDATE:
Laragon:
C:\server\laragon\bin\mysql\mariadb-10.5.4-winx64\bin>mysql -u root -p ioir < C:/_kidob/IOIR_EXPORT/JELENTKEZES.sql Enter password: C:\server\laragon\bin\mysql\mariadb-10.5.4-winx64\bin>

wamp: table import | mysql import

C:\server\wamp\bin\mysql\mysql5.5.20\bin : folderben kiad

mysql -u root -p ioir < C:/_kidob/JELENTKEZES.sql password ''

more info:
https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-in-mysql-or-mariadb

MySQL tárolt eljárások

A tárolt eljárás egy lehetőség, az ismétlődő folyamatok egységbe zárására.
Kevesebb forgalmat jelent az adatbázis szerver és az alkalmazás között, mivel nem kell több 10 soros lekérdezéseket elküldeni, csak egy eljáráshívást, ami lehet egy bonyolult komplex folyamat.

MySQL tárolt eljárások – 1.rész: https://webstack.hu/cikk/mysql-tarolt-eljarasok-1-resz

MySQL tárolt eljárások – vezérlési szerkezetek – 2.rész: https://webstack.hu/cikk/mysql-tarolt-eljarasok-vezerlesi-szerkezetek-2-resz

MyISAM vs InnoDB

what are the difference between InnoDB and MyISAM?

Source: http://opentechlovers.wordpress.com/2014/11/12/myisam-vs-innodb/

MyISAM
(+)

Designed with a thinking that database are frequently read not updated.
Simple to understand and implement.
Has full text searching capability.
Good for frequent read operations(when several computations are executing simultaneously)
Faster reads and writes for small to medium sized tables.
Lock tables while updating.
Count(*) queries are fast

(-)

Non-transactional. Data loss issues during crashes.
Table level locking
Insert and update queries are scaleable, concurrency issues

InnoDB
(+)

Designed with a thinking that database are frequently updated not read.
Transaction-safe
Data-integrity is maintained throughout the entire query process.
Clustering by primary key for faster lookups and ordering.
Transactional, crash-safe, better online backup capability.
Allow multiple updates on single table
Locks only row, not table.

(-)

Slower writes(insert, update queries)
Slower BLOB handling
Count(*) queries require full table scan.