Add support for MySQL and MariaDB#388
Add support for MySQL and MariaDB#388apdavison merged 5 commits intoopen-research:masterfrom davidkleiven:mysqlSupport
Conversation
|
Many thanks for this contribution. For the sake of maintainability, I would appreciate some tests. I think your suggestion of basing this on |
|
Ok, I will try that. @apdavison How does one actually run those tests? I tried to run the postgres tests by executing The python version is 3.6.9. |
|
@apdavison I created a docker file that builds e.g. the command runs fine. However, when I then try to run python test/system/test_mysql.py I get the following output I tested and the same happens for the test_postgressql.py (after I did a minor change to get passeed the error mentioned above, since this PR is on MySQL I did not include that change here). I am a newcommer when it comes to docker so I don't know how I can actually run the tests and check that it works. Any help is appreciated :) |
|
It's been some time since I ran the postgres tests (they are not run by the CI system). I'll try to find time to look at this later this week. Please ping me if you haven't heard anything by next week. |
|
@apdavison did you have a chance to try the postgres tests? |
I would like to use Sumatra with MySQL backend (the reason why I can't use PostGres is that central IT where I work only want to have MySQL databases on their servers). I added a patch that allows you use MySQL as backend. By testing it locally it seems to work. Would this be an interesting add-on for the sumatra project?
I am happy to write more rigorous tests, but in that case: Should it be a separate file that is basically copy of
tests/system/test_postgres.py?