hinditut Posted November 21, 2020 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
Krydos Posted November 21, 2020 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now