MySQL Library Missing?

Continuing the discussion from Add New MySQL Library Please:

I can’t find this package now - is it still there? If so, what’s it called? It’s definitely not mysql.connector as I thought it might be.

It’s been a while since I used it, and it must have worked in the past, but it doesn’t seem to now.

When I do :

import mysql.connector

I get :
ModuleNotFoundError: No module named 'mysql'

I’m using “Full Python3 (Google)”.

It’s possible I’m regressing as I’ve been away for a bit …

I don’t see it in Anvil’s List of Packages. I do see PyMySQL · PyPI

PyMySQL doesn’t support prepared statements, whereas the mysql connector does. It’s the reason I wanted the package installed in the first place, and it was once.

Looks like you’re running in a customised environment, and might need it installing specially. We’ll take a look!

1 Like

Hi - any update on this one?

Cheers,