0.1.0 • Published 14 days ago
@azimutt/connector-mariadb v0.1.0
MariaDB connector
This library allows to connect to MariaDB, extract its schema and more...
It lists all schemas, tables, columns, relations and types and format them in a JSON Schema.
This library is made by Azimutt to allow people to explore their MariaDB database. It's accessible through the Desktop app (soon), the CLI or even the website using the gateway server.
Feel free to use it and even submit PR to improve it:
- improve MariaDB queries (look at
getSchema
function)
Set up a sample MariaDB database
- Go on https://mariadb.com and click on "Start in the cloud" (top right)
- Follow the onboarding
- Create a cloud database
- In manage click on "Security access" to allow your IP (if it doesn't work, check your adblock ^^)
- Then click on "connect to get your credentials" and build an url like:
mariadb://<user>:<pass>@<host>:<port>/<db>
(db is the one you created) - Load data in your instance, if you don't have, you can use schemas from here or there
Publish
- update
package.json
version - update lib versions (
npm run update
+ manual) & runnpm install
- test with
npm run dry-publish
and checkazimutt-connector-mariadb-x.y.z.tgz
content - launch
npm publish --access public
View it on npm.