mysql 连接字符串添加

配置文件里添加  

<add name="mysqlConn" connectionString="server=127.0.0.1;port=3306;user=root;password=mysql123;database=dbName;SslMode = none;" providerName="MySql.Data.MySqlClient" />

posted @ 2020-09-28 13:23  Mr웃ZHANG  阅读(236)  评论(0编辑  收藏  举报