Creating or updating MariaDB users often requires a precomputed password hash for IDENTIFIED BY PASSWORD. The Create MariaDB Password tool generates MariaDB-compatible password hashes so you can use them in CREATE USER ... IDENTIFIED BY PASSWORD '<hash>' or SET PASSWORD. Hashing runs in your browser—your password never leaves your device.
Is this compatible with MySQL?
MariaDB uses similar authentication to MySQL. Hashes are compatible with the same plugins where applicable. Use the generated hash in CREATE USER ... IDENTIFIED BY PASSWORD '<hash>' or SET PASSWORD statements. Enter the plain-text password and choose the plugin if applicable; copy the hash into your MariaDB user statement. No password is sent to any server. Use it when creating or updating MariaDB users and you need a precomputed hash for IDENTIFIED BY PASSWORD. If your hash does not work, ensure you are using the correct plugin and syntax for your MariaDB version; check the server's default authentication plugin.
Key Features
- Compatibility — MariaDB uses similar auth to MySQL. Hashes compatible with same plugins where applicable.
- Where to use — CREATE USER ... IDENTIFIED BY PASSWORD '<hash>' or SET PASSWORD.
- Privacy — No. Hashing runs in your browser. Your password never leaves your device.
- Input — Enter plain-text password and choose plugin if applicable. Copy hash into MariaDB user statement.
- When to use — Creating or updating MariaDB users with precomputed hash for IDENTIFIED BY PASSWORD.
- Hash not working — Ensure correct plugin and syntax for your MariaDB version. Check server's default authentication plugin.
How to Use Create MariaDB Password
- Open the Create MariaDB Password tool.
- Enter the plain-text password. Choose plugin if applicable. Copy the generated hash.
- Use in CREATE USER ... IDENTIFIED BY PASSWORD '<hash>' or SET PASSWORD. Use the "Use tool" button on the docs page if you are reading this from the documentation.
Real Use Cases
Why Use Create MariaDB Password Instead of Alternatives?
- vs. Create MySQL Password — Create MySQL Password is for MySQL. MariaDB uses similar auth; use this tool for MariaDB-specific syntax (e.g. IDENTIFIED BY PASSWORD).
- vs. Create PostgreSQL Password — Create PostgreSQL Password is for PostgreSQL. Use the right tool for your DB.
- vs. Bcrypt Generator — Bcrypt Generator is for application passwords. MariaDB uses its own auth plugins. Use this for MariaDB users.
- vs. Plain password — Hash in browser, use hash in SQL. No plain password over network.
Benefits for DBAs and Developers
- DBAs — Create or update MariaDB users with precomputed hash. One place for MariaDB hashes.
- Developers — Generate hashes for local or CI MariaDB. Match plugin to server.
Common Mistakes
- Hash not working — Ensure you are using the correct plugin and syntax for your MariaDB version. Check the server's default authentication plugin.
- Wrong plugin — Match server's default auth plugin. Syntax may differ (e.g. IDENTIFIED BY PASSWORD vs IDENTIFIED WITH).
- Expecting verification — This tool generates hash only. To verify use MariaDB. For bcrypt use Bcrypt Verifier.
- Forgetting to copy — Copy the hash before closing the tab.
Frequently Asked Questions
Is this compatible with MySQL?
MariaDB uses similar authentication to MySQL. Hashes are compatible with the same plugins where applicable.
Where do I use this hash?
Use the generated hash in CREATE USER ... IDENTIFIED BY PASSWORD '<hash>' or SET PASSWORD statements.
Is my password sent to a server?
No. Hashing runs in your browser. Your password never leaves your device.
Enter the plain-text password and choose the plugin if applicable. Copy the hash into your MariaDB user statement.
Use it when creating or updating MariaDB users and you need a precomputed hash for IDENTIFIED BY PASSWORD.
Why does my hash not work?
Ensure you are using the correct plugin and syntax for your MariaDB version. Check the server's default authentication plugin.
Create MariaDB Password gives you MariaDB-compatible hashes in one place: enter password, choose plugin, copy hash. No server, no account. For MySQL use Create MySQL Password, for PostgreSQL use Create PostgreSQL Password, for bcrypt use Bcrypt Generator, and for random passwords use Password Generator.
Use the Create MariaDB Password tool to generate MariaDB password hashes.