ConnectionString mySql

<< Click to Display Table of Contents >>

Navigation:  Banco de dados >

ConnectionString mySql

Previous pageReturn to chapter overviewNext page

<configuration>

 

<connectionStrings>

 <add name="conn"

      connectionString="server=localhost;User Id=root;Password=123456; Persist Security Info=True;database=teste"/>

 <add name="testeConnectionString"

      connectionString="server=localhost;User Id=root;password=123456;database=teste;Persist Security Info=True"

      providerName="MySql.Data.MySqlClient"/>

</connectionStrings>

 

</configuration>