How backup and restore information_schema.views in mariaDB or replica views? The 2019 Stack...
How did passengers keep warm on sail ships?
how can a perfect fourth interval be considered either consonant or dissonant?
What aspect of planet Earth must be changed to prevent the industrial revolution?
Mortgage adviser recommends a longer term than necessary combined with overpayments
How to split my screen on my Macbook Air?
Did the new image of black hole confirm the general theory of relativity?
Is every episode of "Where are my Pants?" identical?
Road tyres vs "Street" tyres for charity ride on MTB Tandem
Didn't get enough time to take a Coding Test - what to do now?
First use of “packing” as in carrying a gun
Does Parliament hold absolute power in the UK?
Why did all the guest students take carriages to the Yule Ball?
Create an outline of font
How does this infinite series simplify to an integral?
What can I do if neighbor is blocking my solar panels intentionally?
Do warforged have souls?
How to remove this toilet supply line that seems to have no nut?
How to delete random line from file using Unix command?
University's motivation for having tenure-track positions
Can withdrawing asylum be illegal?
"... to apply for a visa" or "... and applied for a visa"?
Can a 1st-level character have an ability score above 18?
Was credit for the black hole image misattributed?
The following signatures were invalid: EXPKEYSIG 1397BC53640DB551
How backup and restore information_schema.views in mariaDB or replica views?
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Backup and Restore ADAM databaseMySQL backup and restore with viewsHP-UX backup and restoreShould I backup and restore the `mysql` database?Large lag on mysql replication (Relay_Log_Pos and Exec_Master_Log_Pos does not increase)Cent0S 7 and MariadbCannot restore duplicity backupMariaDB taking ages to restore backupMysql/Mariadb backup from non-bootable systemHow to restore MariaDB Databases from files
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have two servers running MariaDB(Master 10.2.16, slave 10.2.22) with many DBs, they should be full sync, I check the data in both servers (in more important tables) and they are sync. This is "show slave status":
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update i
but the different is in information_schema.views, the master has 105 rows or records and the slave has 54 records or rows.
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
104 rows in set (0.03 sec)
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
54 rows in set (0.04 sec)
I try to backup and restore, information_schema.views but failed:
MASTER-SERVER$mysqldump -u root -p INFORMATION_SCHEMA views > MASTER.INFORMATION_SCHEMA.VIEWS.sq
l
and try to restore in slave but show a Access denied error,(the issue is not the password or privileges)
SLAVE-SERVER$mysql -u root -p INFORMATION_SCHEMA <MASTER.INFORMATION_SCHEMA.VIEWS.sql
Enter password:
ERROR 1044 (42000) at line 22: Access denied for user 'root'@'localhost' to database 'information_schema'
I don't know how to make both servers sync the views? or how to restore views in slave?
database mariadb synchronization backup-restoration
New contributor
add a comment |
I have two servers running MariaDB(Master 10.2.16, slave 10.2.22) with many DBs, they should be full sync, I check the data in both servers (in more important tables) and they are sync. This is "show slave status":
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update i
but the different is in information_schema.views, the master has 105 rows or records and the slave has 54 records or rows.
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
104 rows in set (0.03 sec)
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
54 rows in set (0.04 sec)
I try to backup and restore, information_schema.views but failed:
MASTER-SERVER$mysqldump -u root -p INFORMATION_SCHEMA views > MASTER.INFORMATION_SCHEMA.VIEWS.sq
l
and try to restore in slave but show a Access denied error,(the issue is not the password or privileges)
SLAVE-SERVER$mysql -u root -p INFORMATION_SCHEMA <MASTER.INFORMATION_SCHEMA.VIEWS.sql
Enter password:
ERROR 1044 (42000) at line 22: Access denied for user 'root'@'localhost' to database 'information_schema'
I don't know how to make both servers sync the views? or how to restore views in slave?
database mariadb synchronization backup-restoration
New contributor
add a comment |
I have two servers running MariaDB(Master 10.2.16, slave 10.2.22) with many DBs, they should be full sync, I check the data in both servers (in more important tables) and they are sync. This is "show slave status":
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update i
but the different is in information_schema.views, the master has 105 rows or records and the slave has 54 records or rows.
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
104 rows in set (0.03 sec)
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
54 rows in set (0.04 sec)
I try to backup and restore, information_schema.views but failed:
MASTER-SERVER$mysqldump -u root -p INFORMATION_SCHEMA views > MASTER.INFORMATION_SCHEMA.VIEWS.sq
l
and try to restore in slave but show a Access denied error,(the issue is not the password or privileges)
SLAVE-SERVER$mysql -u root -p INFORMATION_SCHEMA <MASTER.INFORMATION_SCHEMA.VIEWS.sql
Enter password:
ERROR 1044 (42000) at line 22: Access denied for user 'root'@'localhost' to database 'information_schema'
I don't know how to make both servers sync the views? or how to restore views in slave?
database mariadb synchronization backup-restoration
New contributor
I have two servers running MariaDB(Master 10.2.16, slave 10.2.22) with many DBs, they should be full sync, I check the data in both servers (in more important tables) and they are sync. This is "show slave status":
Slave_IO_Running: Yes
Slave_SQL_Running: Yes
Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update i
but the different is in information_schema.views, the master has 105 rows or records and the slave has 54 records or rows.
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
104 rows in set (0.03 sec)
MariaDB [(none)]> select table_name from information_schema.views;
..
+-----------------------------------+
54 rows in set (0.04 sec)
I try to backup and restore, information_schema.views but failed:
MASTER-SERVER$mysqldump -u root -p INFORMATION_SCHEMA views > MASTER.INFORMATION_SCHEMA.VIEWS.sq
l
and try to restore in slave but show a Access denied error,(the issue is not the password or privileges)
SLAVE-SERVER$mysql -u root -p INFORMATION_SCHEMA <MASTER.INFORMATION_SCHEMA.VIEWS.sql
Enter password:
ERROR 1044 (42000) at line 22: Access denied for user 'root'@'localhost' to database 'information_schema'
I don't know how to make both servers sync the views? or how to restore views in slave?
database mariadb synchronization backup-restoration
database mariadb synchronization backup-restoration
New contributor
New contributor
New contributor
asked 44 secs ago
OsirisOsiris
11
11
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Osiris is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962945%2fhow-backup-and-restore-information-schema-views-in-mariadb-or-replica-views%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Osiris is a new contributor. Be nice, and check out our Code of Conduct.
Osiris is a new contributor. Be nice, and check out our Code of Conduct.
Osiris is a new contributor. Be nice, and check out our Code of Conduct.
Osiris is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962945%2fhow-backup-and-restore-information-schema-views-in-mariadb-or-replica-views%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown