MariaDB 10.4.12 Stable 绿色版下载安装

MariaDB 10.4.12 Stable 绿色版下载安装

1、下载地址:
https://downloads.mariadb.org/mariadb/10.4.12/#mirror=tuna

2、解压缩mariadb-10.4.12-winx64.zip到D:mariadb-10.4.12

3、初始化与创建WINDOWS服务
在CMD中,进入D:mariadb-10.4.12in目录

mysql_install_db.exe --datadir=D:db --service=Mariadb10_4_12 --password=123456

4、启动服务

net start Mariadb10_4_12

5、设置encoding为UTF8
打开D:dbmy.ini文件,做下面的编辑后,保存。
在[mysqld]中加入“character-set-server=utf8”
在[client]中加入“character-set-client=utf8”

6、重启服务
net stop Mariadb10_4_12
net start Mariadb10_4_12

原文地址:https://www.cnblogs.com/fanlinglong/p/12422496.html