foreword
MariaDB 10.11.4 This version is the latest long-term support version, let's install it
download
Official website: MariaDB 10.11.4
Open the link above, clickDownload
Install
Unzip the downloaded zip file, go to the bin directory, the administrator runs cmd, and executes the following command
mysql_install_db.exe --datadir=D:\\db\\mariadb-10.11.4-winx64\\data --service=mariadb1011 --password=123456
This command sets the data directory, service name and root password, which can be customized and modified.
Finally, fill in the absolute path of the bin directory into the environment variable.
use
Like MySQL, the task manager starts the previously configured service
and then it is ready to use. . .
The port number is consistent with MySQL, fully compatible!
uninstall
- delete environment variable
- Delete service
cmd run as administrator, execute:
sc delete mariadb1011
mariadb1011 refers to the custom service name
- Delete the installation package (the entire folder and files extracted during installation)