Sign in to follow this  
Followers 0
spiderblues

Mysql Connection -> Unknown Object!

3 posts in this topic

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:

Posted Image

Pleas help me.... :think:

Thank you

Peter

Share this post


Link to post
Share on other sites



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)


NEWHeader1.png

Share this post


Link to post
Share on other sites

thanks, but that can't be the problem, because the semicolon is in ";"

the problem seems to be the object!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0