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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new connection options in MySQL #6538

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

adrianoapj
Copy link
Contributor

@adrianoapj adrianoapj commented Oct 18, 2023

What type of PR is this?

  • Other

Description

This PR adds some new connection options to the MySQL query runner, I added this because when trying to connect to a PlanetScale instance, I got some errors and it required to use these extra options to work.

How is this tested?

  • Unit tests (pytest, jest)
  • E2E Tests (Cypress)
  • Manually

I changed the query runner, so we had some small changes in the UI when adding a MySQL database which I tested and I also tried to connect to a PlanetScale instance using it and it worked. I also ran unit tests and E2E tests to ensure nothing broke, however not all tests with Cypress passed (at least locally using my MacBook Air M1), but I don't think it's related to the changes I made.

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

drawing

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #6538 (2ea1ef1) into master (7b03e60) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #6538   +/-   ##
=======================================
  Coverage   61.88%   61.88%           
=======================================
  Files         158      158           
  Lines       12965    12965           
  Branches     1770     1770           
=======================================
  Hits         8024     8024           
  Misses       4666     4666           
  Partials      275      275           
Files Coverage Δ
redash/query_runner/mysql.py 32.39% <0.00%> (ø)

@guidopetri
Copy link
Contributor

Thanks for these changes @adrianoapj ! Hopefully the e2e tests pass on the CI.

@guidopetri guidopetri enabled auto-merge (squash) October 19, 2023 00:47
@guidopetri guidopetri merged commit 8bb1767 into getredash:master Oct 19, 2023
14 of 15 checks passed
@adrianoapj adrianoapj deleted the add-new-conn-options-mysql branch October 31, 2023 13:53
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.

2 participants