On 21 Apr 2022, at 22:47, 'Jarle Hammen Knudsen' via openpyxl-users wrote:
> The following following code fails, but if I add import openpyxl, it works!
>
> Why? What is going on under the hood with openpyxl?
>
> The mysql user requiers SSL. DB is mariadb on Debian 10, client is on
>
> Debian 11 Connecting with the mysql command line client works.
This really has nothing to do with openpyxl.
On 22 Apr 2022, at 11:47, 'Jarle Hammen Knudsen' via openpyxl-users wrote:
But adding openpyxl changes the result, so yes it does!
There is nothing openpyxl itself that would make any difference so you're seeing correlation at most and asserting causation is a waste of time.
You do need to debug the connection. I do remember a problem with pgloader and mysql requiring SSL and I think this was fixed by changing a setting but the last time I connected from Python MySQL was using SQLAlchemy which handles the connection stuff.
Anyway, the MySQL driver list is where you need to take this discussion.
--
You received this message because you are subscribed to the Google Groups "openpyxl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpyxl-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpyxl-users/BC843198-146D-45F2-84A8-EEAE55C20AE0%40clark-consulting.eu.