spiderblues Posted April 20, 2006 Share 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 Link to comment Share on other sites More sharing options...
Valuater Posted April 20, 2006 Share 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) Link to comment Share on other sites More sharing options...
spiderblues Posted April 20, 2006 Author Share Posted April 20, 2006 thanks, but that can't be the problem, because the semicolon is in ";" the problem seems to be the object! Link to comment Share on other sites More sharing options...
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