hinditut Posted November 21, 2020 Share Posted November 21, 2020 hi everyonelet me know how to connect remote sql database on mypc vb6.0 softwarei use in mycodeserver: johnny.heliohost.orgdb:mysqldatabaseusername:dbusernamepassword:dbpasswordport:3306 Set cn = New ADODB.Connection cn.CursorLocation = adUseClient cn.Open "DRIVER={MySQL ODBC 3.51 Driver};SERVER=" & isServer & ";DATABASE=" & isDatabase & ";UID=" & isUsername & ";PWD=" & isPASSWORD & ";PORT=" & isPORT & ";OPTION=3" i am also following in my code but did't get success every get response access denied for user please tell me anyone how to resolve and what i going wrong Quote Link to comment Share on other sites More sharing options...
Krydos Posted November 21, 2020 Share Posted November 21, 2020 Remote mysql is disabled by default for security reasons. Have you enabled remote mysql by clicking the button labeled "Remote Mysql" in cpanel and then entering your ip address or putting % to allow all ips to connect? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.