Snippets about mariadb
4 snippets
-
SNP140
Create a database user in MariaDB
One user per application, with only the rights it needs.
6 lines of sql in 2 blocks, 6 lines of explanation.
#925 -
SNP077
Delete duplicate rows but keep one
Clean up a table after finding the duplicates, keeping the oldest of each.
10 lines of sql in 3 blocks, 6 lines of explanation.
#396 -
SNP039
MariaDB in Docker for local development
A database for the project that you can throw away and recreate in a second.
17 lines of yaml and sh in 2 blocks, 4 lines of explanation.
#952 -
SNP033
Dump and restore a MariaDB database
Backups, moving a database to another server, or copying production to your machine.
4 lines of sh in 3 blocks, 6 lines of explanation.
#953