Keywords: LAMP/MAMP/WAMP - AWS - How to - Services (Apache, MariaDB, MySQL…)
I have bought a bitnami LAMP server from AWS with mariadb server.
I used to create a daily database backup for mysql server before using cronjob as following code and all work fine:
00 07 * * * /opt/bitnami/mysql/bin/mysqldump --defaults-extra-file=/home/bitnami/.mylogin.cnf -u username databasename --single-transaction --quick --lock-tables=false > /home/bitnami/dbb/mydatabase_db_
today bitnami changed their database to mariaDB, and when I used the same code to do an automated daily backup, the file is generated but with 0 file size ( means nothing inside it) … see below screen shoot for the.mylogin.cnf file I but the database details as below: