- Joined
- May 2, 2007
- Messages
- 574
- Reaction score
- 3
I May Be A Habbotard But I Do Other Stuff Aswell So Dont Call Me A HABBOTARD!
Anyway
Im Making A Habbo Server Using VB6 And Im Gonna Connect MySQL To My Server.
But Whenever I Run My Server To Test The Connection I Get This Error
Any Ideas How To Fix?
My Code I Use Is Below
Anyway
Im Making A Habbo Server Using VB6 And Im Gonna Connect MySQL To My Server.
But Whenever I Run My Server To Test The Connection I Get This Error
![What Can I Say - [HELP][MySQL][VB6]Access Denied?[VB6][MySQL][HELP] - RaGEZONE Forums What Can I Say - [HELP][MySQL][VB6]Access Denied?[VB6][MySQL][HELP] - RaGEZONE Forums](https://forum.ragezone.com/images/404_image.png)
Any Ideas How To Fix?
My Code I Use Is Below
Code:
Private Sub cmdCreate_Click()
Dim con1 As New adodb.Connection
con1.CursorLocation = adUseClient
con1.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" & txtSQLUser.Text & ";DATABASE=" & txtdbName.Text & ";USER=" & txtdbHost.Text & ";PASSWORD=" & txtSQLPass.Text & ";;;"
con1.Open
If con1.State = Connected Then
MsgBox "Successful Connection!"
End If
End Sub