From dae64260b9b6f3d3d61258a8924dd47afde41eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Sat, 27 Jul 2024 10:25:10 +0800 Subject: [PATCH] 'commit' --- 环境安装文档/2、安装Mysql5.7.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/环境安装文档/2、安装Mysql5.7.txt b/环境安装文档/2、安装Mysql5.7.txt index 4dbc454..369fcee 100644 --- a/环境安装文档/2、安装Mysql5.7.txt +++ b/环境安装文档/2、安装Mysql5.7.txt @@ -68,3 +68,9 @@ mysql -uroot -p 输入密码:DsideaL147258369 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'IDENTIFIED BY 'DsideaL147258369' WITH GRANT OPTION; 现在用Navicat Prenium就可以远程访问到数据库了。 + +YLT项目中使用的用户名:ycharge,密码:ycharge 需要创建 +CREATE USER 'ycharge'@'%' IDENTIFIED BY 'ycharge'; +GRANT all privileges ON yltcharge.* TO 'ycharge'@'%'; +FLUSH PRIVILEGES; +