Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dolthub/collation-extractor
Extracts character sets and collations from a MySQL instance.
https://github.com/dolthub/collation-extractor
Last synced: 3 days ago
JSON representation
Extracts character sets and collations from a MySQL instance.
- Host: GitHub
- URL: https://github.com/dolthub/collation-extractor
- Owner: dolthub
- Created: 2022-07-27T15:28:42.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-23T23:41:53.000Z (over 2 years ago)
- Last Synced: 2024-11-08T08:32:23.281Z (about 2 months ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Collation Extractor for [go-mysql-server](https://github.com/dolthub/go-mysql-server)
This tool is designed to extract character sets and collations from a MySQL instance, which will then be added to [go-mysql-server](https://github.com/dolthub/go-mysql-server).
## How to Use
The root directory contains multiple test files, each with their own functionality.
To use one of the functions, modify the constant variables within the test file, and run the test.
Each function has a comment further describing its purpose and any additional considerations specific to that function.It is recommended to read and understand all tests before using any of them, as some concepts are repeated between tests, but may only be explained in one of them.
## Why Test Files?
It's quicker to write them.
Rather than dealing with argument parsing and the like, it's easier to make a new test file with some constant variables.
This is intended for developers of [go-mysql-server](https://github.com/dolthub/go-mysql-server), and the tool should only need to be run when a new character and/or collation is added to MySQL, which is not a common occurrence.
Therefore, developer ergonomics are prioritized over all else.
It is unlikely that this tool will ever be run outside of an IDE.