excel - Connect VBA to MySQL -


i know has been asked many times, none of them helped in case.

so here piece of code:

dim oconn adodb.connection  sub macro1()  set oconn = new adodb.connection oconn.connectionstring = "driver={mysql odbc 5.2 ansi driver};" _ & "server=server;" _ & "database=db;" _ & "uid=user;pwd=pw; option=3"  oconn.open 

enter image description here

enter image description here

what wrong?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -