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

Support new installations of MySQL Connector C 6.1 #448

Open
wants to merge 2 commits into
base: master
from

Conversation

@mddicicco
Copy link

@mddicicco mddicicco commented Oct 14, 2020

New installations of MySQL Connector C 6.1 default to 'C:\Program Files.." not 'C:\Program Files (x86)..'.
This update also corrects the setup_windows.py client from 'mariadbclient' to 'mysqlclient'

mddicicco added 2 commits Oct 14, 2020
change connector path to support amd64 installation of mysql connector c
swap client to mysql instead of mariadb
@codecov
Copy link

@codecov codecov bot commented Oct 14, 2020

Codecov Report

Merging #448 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #448   +/-   ##
=======================================
  Coverage   86.60%   86.60%           
=======================================
  Files          12       12           
  Lines        1530     1530           
=======================================
  Hits         1325     1325           
  Misses        205      205           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca630c0...796d0dc. Read the comment docs.

client = "mysqlclient"
# client = "mariadbclient"
Comment on lines +15 to +16

This comment has been minimized.

@methane

methane Oct 15, 2020
Member

Don't do that. MySQL Connector/C 6.1 is too old, and new libmysqlclient doesn't support static linking.

This comment has been minimized.

@mddicicco

mddicicco Oct 15, 2020
Author

The whole reason I landed on 6.1 was because that is what the build was looking for. I aimed for making the minimum changes possible for it to work. Prior to these changes the build fails because it is searching for a 'mariadb' directory inside the 'MySQL Connector C 6.1' directory (that is caused by line 16), and the 'MySQL Connector C 6.1' directory if installed today lands in the x64 'Program Files' directory

This comment has been minimized.

@methane

methane Oct 16, 2020
Member

MySQL Connector/C 6.1 is old product. It is not recommended/default option. So don't try make it success without modification. MariaDB Connector/C must be default option for Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.