Skip to content

Commit

Permalink
The user for replication is "replication", not "replica"
Browse files Browse the repository at this point in the history
Now MariaDB replication is working, just confirmed it by
looking to containers activity (previously it was idle).

Now time to check why PHPUnit isn't detecting that, it should
so we immediately know when replication is not working.
  • Loading branch information
stronk7 committed Jan 22, 2024
1 parent 80399d2 commit 58dc190
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ mysql -u root -pmoodle moodle < /tmp/moodle.sql
mysql -u root -pmoodle moodle << EOSQL
CHANGE MASTER TO
MASTER_HOST='${DBHOST}',
MASTER_USER='replica',
MASTER_PASSWORD='replica',
MASTER_USER='replication',
MASTER_PASSWORD='replication',
MASTER_LOG_FILE='$replfile',
MASTER_LOG_POS=$position;
START SLAVE;
Expand Down

0 comments on commit 58dc190

Please sign in to comment.