Click here to Skip to main content
15,903,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i tried this to connect but its giving an error

adodb connection name.ConnectionString = Driver={MySQL ODBC 5.1 Driver};Database=databasename;Server=serverip;Port=3306;Option=19;Uid=username;Pwd=password;

its giving an runtime error-2147467259(80004005) [mtsql][ODBC 5.1 driver] host is not allowed to connect to this mysql server

any one plz help me:confused:
Posted
Updated 28-Feb-10 20:37pm
v3

1 solution

shrikant.kudlur wrote:
its giving an error like the host not allowed to connect to mysql server


If you must use a language that has been dead for a decade, that always sucked and that is totally unsupported now, at least make things a bit easy for us by telling us the ACTUAL error message.

The error seems to suggest that MySQL is configured to not allow this connection, is it over a network, or on the local machine.

Either way, VB6 is crap, it always was, and certainly it is dumb to be learning to use it in 2010.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900