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

php - Autoloader issue not returning Class -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -