halo mas,
ini contoh koneksi yg sering saya pake kalo menggunakan mySQL
semoga bisa dicerna ya


Private Sub Koneksi()
  'ini koneksi dg menggunakan MySQL ODBC 3.51 Driver
  Set cn = New ADODB.Connection
  cn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
                        & "SERVER=localhost;" _
                        & " DATABASE=TEST;" _
                        & "UID=root;PWD=; OPTION=3"
cn.Open
End Sub


salam
lis


 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

Kirim email ke