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.
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.