标签:option lib mysqld 配置 http dir 允许 href 支持
1.下载 https://downloads.mariadb.org/mariadb/10.5.3/
2.解压后cmd执行 mysql_install_db.exe --datadir=D:\db --service=Mariadb --password=123456
3.修改my.ini配置
[mysqld] datadir=C:/soft/mariadb-10.5.3-winx64/data character-set-server=utf8 port=6666 [client] plugin-dir=C:/soft/mariadb-10.5.3-winx64/lib/plugin port=6666
4.修改密码
set password for root@localhost = password(‘新密码‘);
5.支持root用户允许远程连接mysql数据库
grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘123456‘ with grant option;
flush privileges;
标签:option lib mysqld 配置 http dir 允许 href 支持
原文地址:https://www.cnblogs.com/lizhanglong/p/13171235.html