简体   繁体   中英

Having issue connecting to mysql db from excel macros

I am having issue connecting to mysql in excel macro. I can pull the data manually but not from vba code. Pease find snap shot of error and connection properties. Previously, it was working fine when connecting to MSSQL Db.

Thanks.

Error 1004

Connection Properties

Please check if any firewall blocks the standard MySQL port (3306). Does your MySQL user has the permission to connect to the database from remote machine?

Let me know

You can use this module to connect VBA to MYSQL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM