Create Mermaid ERD diagrams from live databases.
touch output.mmd
See documentation and examples/mermerd-config.yaml .
This example command connects to a MySQL server running on localhost port 3306.
Replace root:
with your username:password
combination.
docker run --pull always --rm -it --name mermerd \
--net host \
--mount type=bind,source="${PWD}"/output.mmd,target=/root/result.mmd \
--mount type=bind,source="${PWD}"/mermerd-config.yaml,target=/root/.mermerd \ # optional
nedix/mermerd \
--connectionString "mysql://root:@tcp(host.docker.internal:3306)/mysql"
Powered by mermerd.