MySQL MySQL Community Server — Default Password
Default username and password for the MySQL MySQL Community Server: root / (blank). Learn how to log in and how to change the default credentials.
When initialized with --initialize-insecure, or installed via certain Linux distribution packages, the root account has an empty password. Many LAMP stacks default to this. Use mysql_secure_installation to secure.
| Username | Password | Access | Version / firmware | Notes |
|---|---|---|---|---|
root | (blank / none) | Database | Insecure init / older Linux packages | Secure init (--initialize) generates a temporary random password written to the error log. Run mysql_secure_installation post-install. |
- Source
- vendor documentation
Responsible use
This database lists publicly documented default credentials so administrators can find and change them. Only use these on systems you own or are authorized to test.