表示 进入内容 601610653
« 先前的 10 新的记录 | 下一步 10 较早的记录 »
Displaying posts with tag: mariadb (reset)
Mariadb 10 GTID 复制 测试

同一机器上三个实例,3307为maser,新造两个mariadb实例,端口分别为3309 和3310,开始搭建复制关系,版本为mariadb 10.0.10

3307 导出: mysqldump --master-data=2
导入:
mysql -u -p --socket=/tmp/mysql3309.sock </apps/bak_3307.sql
mysql -u -p --socket=/tmp/mysql3310.sock </apps/bak_3307.sql

在做主从复制关系前,

dba@192.168.50.111(test_3309) : (none) 05:20:31>select @@global.gtid_current_pos;
@@global.gtid_current_pos
0-501113309-31329

1 row in set (0.02 sec)

dba@192.168.50.111(test_3309) : (none) 05:21:10>select @@global.gtid_current_pos;
@@global.gtid_current_pos
0-501113309-32311
[获取更多]
mariadb10 GTID 研究笔记.md

Mysql 5.6的GTID没有深入研究,初步看了下,mariadb10的GTID复制使用起来,相比5.6的要简单,传统模式复制改GTID复制,只需要CHANGE MASTER master_use_gtid=current_pos 就可以了。

本文是在mariadb 10关于GTID复制的官方文档 https://mariadb.com/kb/en/mariadb/mariadb-documentation/replication-cluster-multi-master/replication/global-transaction-id/

写的笔记和知识点,有些理解可能不完全正确,建议看官方文档。

Markdown 格式写的,新手,排版比较丑:)

From version 10.0.2, MariaDB supports global transaction IDs for replication.

Benefits

  1. Easy to change a slave server to connect to and replicate from a different master server.
  2. The state of the slave is …
[获取更多]
mariadb10 GTID 研究笔记.md

Mysql 5.6的GTID没有深入研究,初步看了下,mariadb10的GTID复制使用起来,相比5.6的要简单,传统模式复制改GTID复制,只需要CHANGE MASTER master_use_gtid=current_pos 就可以了。

本文是在mariadb 10关于GTID复制的官方文档 https://mariadb.com/kb/en/mariadb/mariadb-documentation/replication-cluster-multi-master/replication/global-transaction-id/

写的笔记和知识点,有些理解可能不完全正确,建议看官方文档。

Markdown 格式写的,新手,排版比较丑:)

From version 10.0.2, MariaDB supports global transaction IDs for replication.

Benefits

  1. Easy to change a slave server to connect to and replicate from a different master server.
  2. The state of the slave is …
[获取更多]
mariadb10 GTID 研究笔记.md

Mysql 5.6的GTID没有深入研究,初步看了下,mariadb10的GTID复制使用起来,相比5.6的要简单,传统模式复制改GTID复制,只需要CHANGE MASTER master_use_gtid=current_pos 就可以了。

本文是在mariadb 10关于GTID复制的官方文档 https://mariadb.com/kb/en/mariadb/mariadb-documentation/replication-cluster-multi-master/replication/global-transaction-id/

写的笔记和知识点,有些理解可能不完全正确,建议看官方文档。

Markdown 格式写的,新手,排版比较丑:)

From version 10.0.2, MariaDB supports global transaction IDs for replication.

Benefits

  1. Easy to change a slave server to connect to and replicate from a different master server.
  2. The state of the slave is …
[获取更多]
xtrabackup 不能备份mariadb 10的解决方法

之前xtrabackup 不能备份mariadb 10的问题,看官方文档,无意找到了答案,很简单,升级xtrabackup 到2.1.7+ 版本即可,之前用的是2.0.2版本。
官方说明:https://mariadb.com/kb/en/mariadb/mariadb-documentation/clients-and-utilities/backup-restore-and-import/backup-restore-and-import-xtrabackup/

描述如下:

If you are getting errors like this

140208 23:23:03 [Note] Found 1 prepared transaction(s) in InnoDB
140208 23:23:03 [ERROR] Found 1 prepared transactions! It means that
mysqld was not shut down properly last time and critical recovery
information (last binlog or tc.log file) was manually deleted after a
crash. You have to start mysqld with --tc-heuristic-recover switch to …

[获取更多]
xtrabackup 不能备份mariadb 10的解决方法

之前xtrabackup 不能备份mariadb 10的问题,看官方文档,无意找到了答案,很简单,升级xtrabackup 到2.1.7+ 版本即可,之前用的是2.0.2版本。
官方说明:https://mariadb.com/kb/en/mariadb/mariadb-documentation/clients-and-utilities/backup-restore-and-import/backup-restore-and-import-xtrabackup/

描述如下:

If you are getting errors like this

140208 23:23:03 [Note] Found 1 prepared transaction(s) in InnoDB
140208 23:23:03 [ERROR] Found 1 prepared transactions! It means that
mysqld was not shut down properly last time and critical recovery
information (last binlog or tc.log file) was manually deleted after a
crash. You have to start mysqld with --tc-heuristic-recover switch to …

[获取更多]
xtrabackup 不能备份mariadb 10的解决方法

之前xtrabackup 不能备份mariadb 10的问题,看官方文档,无意找到了答案,很简单,升级xtrabackup 到2.1.7+ 版本即可,之前用的是2.0.2版本。
官方说明:https://mariadb.com/kb/en/mariadb/mariadb-documentation/clients-and-utilities/backup-restore-and-import/backup-restore-and-import-xtrabackup/

描述如下:

If you are getting errors like this

140208 23:23:03 [Note] Found 1 prepared transaction(s) in InnoDB
140208 23:23:03 [ERROR] Found 1 prepared transactions! It means that
mysqld was not shut down properly last time and critical recovery
information (last binlog or tc.log file) was manually deleted after a
crash. You have to start mysqld with --tc-heuristic-recover switch to …

[获取更多]
MariaDb数据库管理系统学习(一)安装过程图解

MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可。开发这个分支的原因之一是:甲骨文公司收购了MySQL后,有将MySQL闭源的潜在风险,因此社区采用分支的方式来避开这个风险。

【mysql】  【数据库】  【操作系统】  【Mariadb】  【远程连接】  【系统安全】   …

[获取更多]
CentOS 6.5上安装MariaDB

版权声明:本文为博主chszs的原创文章,未经博主允许不得转载。 https://blog.csdn.net/chszs/article/details/20483431

CentOS 6.5上安装MariaDB 作者:chszs,转载需注明。

【mysql】  【centos】  【rpm】  【Server】  【Mariadb】  【Transaction】   点击查看原文>

辛勤工作,被忽視....

Originally posted: http://anothermysqldba.blogspot.com/2014/01/hard-work-that-goes-unnoticed.html

我今天花了一點時間,並更新了我的Linux發行版之一。 在這種分配我碰巧有Percona的5.6安裝為MySQL數據庫。 我之前如何設置你的選擇都提到的MySQL通過yum軟件庫

在這裡我想說的是,雖然,我們怎麼永遠感謝這些人對他們做的工作?

許多這些存儲庫是由公司經營和這些人得到報酬為他們做什麼。 …

[获取更多]
表示 进入内容 601610653
« 先前的 10 新的记录 | 下一步 10 较早的记录 »