VillageSQL is a drop-in replacement for MySQL with extensions.
All examples on this page work on VillageSQL. Install Now →
Pick a way to run a server
Each of those pages ends with a running server. Come back here once you have
one.
Get a client
This tutorial drives the server withmysql, the command line client. Where it
comes from depends on which way you went:
- The installer or an existing server. The client came with the server, so you already have it.
- Docker. The client lives inside the container, not on your machine. Reach
it with
docker exec -it CONTAINER_NAME mysql -u root -p, or install a client locally and connect over the port the container publishes.
Check that you can connect
Run this, and press Return at the password prompt ifroot has no password:
When it does not connect
Both of the errors below mean the client never reached a server, so neither is about your password. You can reproduce either one on a working setup by pointing the client somewhere wrong. A socket path with nothing behind it:See also
- Quickstart — install VillageSQL and connect to it
- MySQL on Docker — run a server in a container
- Common MySQL errors — what the other connection errors mean

