https://crates.io/crates/mysql is a popular crates, so we can go with it first.
We can add a feature gate to enable this feature.
By doing this, we can make it easier to get started with sqlness, user only needs to handle the start/stop of their services.
I think we can go further, we can provide a cli for this default server, and let user start/stop service all by themselves, users can execute this cli against their servers directly, something like
sqlness-cli -t mysql -h localhost -p 3306 --case-dir some-directory
We can implement this in two steps, first to add default database implementation, then to add this cli.
We can add a feature gate to enable this feature.
I think we can go further, we can provide a cli for this default server, and let user start/stop service all by themselves, users can execute this cli against their servers directly, something like
We can implement this in two steps, first to add default database implementation, then to add this cli.
Originally posted by @jiacai2050 in https://github.com/CeresDB/sqlness/issues/15#issuecomment-1371758769