asp.net - How to generate the right connection string for MySql -
i have asp.net mvc site & using ef code first
as database, using mysql. not getting right connection string. if mssql have generate using visual studio itself.
is there quick way auto generate right connection string when using mysql.
thanks.
this useful
<connectionstrings> <add name="mycontext" providername="mysql.data.mysqlclient" connectionstring="server=localhost;port=3306;database=mydbname;uid=my_user_id;password=my_password"/> </connectionstrings> tipically my_user_id = root
https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html
Comments
Post a Comment