How to Migrate a MySQL Database to MariaDB on Your VPS

mysql database to mariadb

MariaDB started as a fork of MySQL, and the two still share the same wire protocol, the same SQL dialect for most workloads, and the same client tools. That shared history is why you can migrate mysql database to mariadb on a server you already run, without rewriting your app or changing how your code … Baca Selengkapnya

How to Create a Read-Only MySQL User for Your WordPress Backups

read-only mysql user for wordpress

How to Create a Read-Only MySQL User for Your WordPress Backups Most WordPress sites back up their database with the same MySQL user the site itself uses. That user can read, write, and change anything, so a backup script that gets hijacked or runs a bad command can wipe the whole database. A read-only MySQL … Baca Selengkapnya

How to Back Up MySQL Databases Automatically with mysqldump and Cron

MySQL databases change constantly, and a backup taken by hand once in a while is not a backup strategy. A shop order, a new user, a comment posted five minutes ago: all of it lives only in the database, so losing the database means losing work your visitors already did. This mysql backup with mysqldump … Baca Selengkapnya