Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL in MySQLConnector #1136

Open
shwetabhattad-TU opened this issue Apr 25, 2024 · 1 comment
Open

SSL in MySQLConnector #1136

shwetabhattad-TU opened this issue Apr 25, 2024 · 1 comment

Comments

@shwetabhattad-TU
Copy link

shwetabhattad-TU commented Apr 25, 2024

馃殌 The feature

Hi @gventuri ,

We are using pandasai connectors to connect to mysql in our production environment.
And the MySQL connection we have is SSL enabled.
However we see that in pandasai connectors we are not able to connect to SSL

Motivation, pitch

MySQL Connection - SSL

Alternatives

No response

Additional context

No response

@ArslanSaleem
Copy link
Collaborator

ArslanSaleem commented Apr 29, 2024

@shwetabhattad-TU This PR seems to solve this issue
#1137

orders_connector = PostgreSQLConnector( config={ "host": "host-url", "port": 5432, "database": "db_name", "username": "postgres", "password": "pass", "table": "orders", "connect_args": {"sslmode": "require"}, }, field_descriptions={"customer_id": "Customer unique identifier"}, )

Try in the latest version of Pandasai

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

No branches or pull requests

2 participants