phpMySql connection
Posted
by
Eiriko Pedroza
on Stack Overflow
See other posts from Stack Overflow
or by Eiriko Pedroza
Published on 2012-06-28T03:11:34Z
Indexed on
2012/06/28
3:15 UTC
Read the original article
Hit count: 114
vb.net
PL = VB.net Issue: format of the initialization string does not conform to specification starting at index 17
connection string:
objconn.ConnectionString = ("server=" & txtServer.Text & ";" _
& "user id=" & "'" & txtUserId.Text & ";" _
& "password=" & txtPassword.Text & ";" _
& "database=try")
Try
objconn.Open()
MsgBox("Connected")
objconn.Close()
Catch ex As Exception
MsgBox(ex.ToString)
End Try
-objconn is declared as new mysqlconnection
every time I run the application and try to login, i keep on receiving this error message,
I already double checked my line of connection string.
im using 'localhost' as server and 'root' as username, password is blank.
thank you in advance for your response
© Stack Overflow or respective owner