Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21281

help : slow connection (mysql db + vb6)

$
0
0
I am having a problem on MYSQL database connectivity.

Not running smoothly. It take 2 to 10sec before records completely load on lynxgrid. Sometimes it hang up.

Is there any way to save and retrieve records in fastest way?

Code:

Set cn = New ADODB.Connection
    cn.CursorLocation = adUseClient
   
    cn.ConnectionString = "DRIVER={MySQL ODBC 3.51 Driver};" _
                        & "SERVER=192.168.1.180;" _
                        & "DATABASE=myTrial;" _
                        & "UID=root;" _
                        & "PWD=ssmpc;" _
                        & "OPTION=3"
cn.Open


Viewing all articles
Browse latest Browse all 21281

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>