spiderblues Posted April 20, 2006 Posted April 20, 2006 Hi all,I try to connect to a MySQL database with ODBC, but the ObjCreate doesn't work!What am i doing wrong?$objconn = ObjCreate("ADO.Connection") $objConn.open("DRIVER={MySQL ODBC 3.51 Driver};server=localhost;database=test;UID=root;PWD=;")I'm using the latest AutoIT beta 119.ODBC driver 3.51 is installed, and the Test-Button returns success!I'm getting this error message:Pleas help me.... Thank youPeter
Valuater Posted April 20, 2006 Posted April 20, 2006 i dont know the exact phrase and spacing for that object open line, however the ";" semi-colin is known as a "comment" and NOT used within the command 8)
spiderblues Posted April 20, 2006 Author Posted April 20, 2006 thanks, but that can't be the problem, because the semicolon is in ";" the problem seems to be the object!
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