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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -