useful:mysql-mariadb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
useful:mysql-mariadb [2024/06/29 11:16] – admin | useful:mysql-mariadb [2024/12/02 16:49] (current) – admin | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== MySQL / MariaDB ====== | ====== MySQL / MariaDB ====== | ||
+ | |||
+ | ===== Set up replication ===== | ||
+ | |||
+ | This is the command to set everything: | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | where the numbers 000673 and 4 will need to be changed. | ||
===== Resync replication ===== | ===== Resync replication ===== | ||
Line 48: | Line 57: | ||
Edit / | Edit / | ||
- | sudo systemd | + | sudo systemctl |
sudo systemctl start mysql # and it should finally start | sudo systemctl start mysql # and it should finally start | ||
Line 102: | Line 111: | ||
| | ||
+ | |||
+ | ===== Create a new root user ===== | ||
+ | |||
+ | | ||
+ | GRANT ALL PRIVILEGES ON *.* TO ' | ||
useful/mysql-mariadb.1719659814.txt.gz · Last modified: 2024/06/29 11:16 by admin