1. Download MariaDB
Download address https://mariadb.org/download/
The download with PC is a stable version, I will directly download version 11.1.1 here
2. Installation
After decompression, enter the bin directory and execute the command
mariadb-install-db.exe
mysqld --install MariaDB11
3. Change password
start database
net start MariaDb11
Connect to the database, enter the password and press Enter directly to enter the command line
mysql -u root -p
Execute the sql statement in the database and change the password to 123456
use mysql;
SET PASSWORD FOR 'root'@localhost = PASSWORD("123456");
finished