MariaDB MariaDB Community Server — Default Password
Default username and password for the MariaDB MariaDB Community Server: root / (blank). Learn how to log in and how to change the default credentials.
On fresh installations the root account has no password. From MariaDB 10.4 onward, root authenticates via Unix socket plugin — no password needed when running as the OS root user. Run mariadb-secure-installation to set a root password post-install.
| Username | Password | Access | Notes |
|---|---|---|---|
root | (blank / none) | Database | — |
- Default port
- TCP port 3306 (MySQL)
- 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.