Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/03/2011, 18:51
Avatar de jaullo
jaullo
 
Fecha de Ingreso: abril-2009
Mensajes: 994
Antigüedad: 15 años
Puntos: 30
Respuesta: Configurar mi conexion mysql en web.config

Hola,

Descarga el MySql Connector para .Net de esta pagina
MySql Connector

Y en tu Web.Config agrega la cadena de conexión, recuerda modificar los parámetros acorde a tus necesidades:
Código HTML:
Ver original
  1. <connectionStrings>
  2.  
  3.  <add name="mySqlConnection1" providerName="MySql.Data.MySqlClient.MySqlConnection"
  4.  
  5. connectionString="Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;Pwd=myPassword;"/>
  6.  
  7. </connectionStrings>

Microsoft Online Community Support Team
__________________
http://geekswithblogs.net/jaullo/Default.aspx
Si te he ayudado regalame Karma positivo!!!