Skip to content

Conversation

pequiste
Copy link

Visidata currently crashes when trying to connect to a MySQL database with no password because unquote(self.url.password) crashes on None. And mysql.connect cannot take password=None either.

Fixed the issue by conditionnally adding the password to the params if present.

@CLAassistant
Copy link

CLAassistant commented Sep 15, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Owner

@saulpw saulpw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @pequiste !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants