LocalDB in Visual Basic does not connect

0

My application does not connect to the localDB. I've updated the SDT, I've changed the connectionstring in App.config but nothing works. The part of the code where I make the connection is this:

  Dim conexao As String = "Server = (LocalDB)\MSSQLLocalDB; Database = EquipamentosDB ;IntegratedSecurity=yes; Uid=auth_windows;"

  Dim reader As MySqlDataReader       

  conn = New MySqlConnection
  conn.ConnectionString = conexao

    Try
        conn.Open()

    Catch myerro As MySqlException
        MsgBox("Erro de leitura no Banco de dados:" & myerro.Message)

    End Try

I followed the method of configuring the localDB of this link: link

    
asked by anonymous 17.04.2017 / 22:04

0 answers