I need help in MYSQL connection,
I wrote this script and it say that it doesnt found the database.

VB Code:
  1. Private Sub Form_Load()
  2.  
  3. Dim sConnect As ADODB.Connection
  4. Dim sRecord As ADODB.Record
  5. Dim sTrconnect As String
  6.  
  7. Set sConnect = New ADODB.Connection
  8. Set sRecord = New ADODB.Record
  9.  
  10. sTrconnect = "Driver={mySQL};Server=84.95.241.143;Port=2222;Option=131072;Stmt=;Database=private_test;Uid=private_test;Pwd=private_test;"
  11. sConnect.ConnectionString = sTrconnect
  12. sConnect.Open
  13. sRecord.Open ("select * from `test`")
  14.  
  15. Label1.Caption = sRecord("title") & sRecord("pass")
  16.  
  17.  
  18. End Sub

What is the problem?


BTW : The space in the Uid section in the connection script doesnt exist in the real script

-k3pos