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

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -