You've already forked mysql-ubuntu
Because reading the README is faster than debugging
This commit is contained in:
27
README.md
27
README.md
@@ -5,23 +5,24 @@
|
||||
[](#)
|
||||
[](./LICENSE)
|
||||
|
||||
Automated Bash installer for **MySQL on Ubuntu 24.04**, configured for password-only authentication
|
||||
(no `auth_socket`, no silent root login, no surprises).
|
||||
Install MySQL on Ubuntu 24.04 server.
|
||||
|
||||
This is a **production-focused installer**, not a lab toy.
|
||||
Run it once → MySQL is installed, hardened, and ready for real workloads.
|
||||
This is not a guide and not a toy.
|
||||
This script is built for consistent, repeatable deployments.
|
||||
|
||||
---
|
||||
## Why this installer exists
|
||||
Different distros ship different defaults, often requiring manual cleanup. This installer standardizes configuration.
|
||||
|
||||
## What this installer does
|
||||
## What this installer does
|
||||
✔ Enforces `mysql_native_password`
|
||||
✔ No socket login — predictable auth
|
||||
✔ Removes anonymous users + test DB
|
||||
✔ Creates `/root/.my.cnf` for CLI access
|
||||
✔ Safe to re-run without wiping data
|
||||
|
||||
✔ Installs MySQL Server + Client
|
||||
✔ Forces **password authentication for root** (`mysql_native_password`)
|
||||
✔ Removes anonymous users and the test database
|
||||
✔ Disables remote root access
|
||||
✔ Creates `/root/.my.cnf` for passwordless root CLI access
|
||||
✔ Runs non-interactively (no `mysql_secure_installation` wizard)
|
||||
✔ Safe to re-run — existing data is not dropped
|
||||
## What this installer does *NOT* do
|
||||
It won’t stop you from running the script without reading the documentation like there’s no tomorrow.
|
||||
Skip the README, and whatever happens next is your headache, not a bug report.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user