mysql的sandbox_MySQL::Sandbox(2)

installing slave 1

installing slave 2

starting slave 1

... sandbox server started

starting slave 2

... sandbox server started

initializing slave 1

initializing slave 2

replication directory installed in $HOME/sandboxes/rsandbox_5_6_10

[modify@H209 ~]$ ls /home/modify/sandboxes/rsandbox_5_6_10/

check_slaves clear_all enable_gtid initialize_slaves m master node1 node2 restart_all s1 s2 send_kill_all start_all status_all stop_all use_all

此目录中的m相当于use master, s1相当于use slave 1, s2相当于 use slave 2。

[modify@H209 ~]$ /home/modify/sandboxes/rsandbox_5_6_10/s2

Warning: /home/modify/.mylogin.cnf should be readable/writable only by current user.

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 5

Server version: 5.6.10-log MySQL Community Server (GPL)

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its

affiliates. Other names may be trademarks of their respective

owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

slave2 [localhost] {msandbox} ((none)) > show slave status \G

*************************** 1. row ***************************

Slave_IO_State: Waiting for master to send event

Master_Host: 127.0.0.1

Master_User: rsandbox

Master_Port: 18675

Connect_Retry: 60

Master_Log_File: mysql-bin.000001

Read_Master_Log_Pos: 2590

Relay_Log_File: mysql_sandbox18677-relay-bin.000002

Relay_Log_Pos: 2753

Relay_Master_Log_File: mysql-bin.000001

Slave_IO_Running: Yes

Slave_SQL_Running: Yes

Replicate_Do_DB:

Replicate_Ignore_DB:

Replicate_Do_Table:

Replicate_Ignore_Table:

Replicate_Wild_Do_Table:

Replicate_Wild_Ignore_Table:

Last_Errno: 0

Last_Error:

Skip_Counter: 0

Exec_Master_Log_Pos: 2590

Relay_Log_Space: 2939

Until_Condition: None

Until_Log_File:

Until_Log_Pos: 0

Master_SSL_Allowed: No

Master_SSL_CA_File:

Master_SSL_CA_Path:

Master_SSL_Cert:

Master_SSL_Cipher:

Master_SSL_Key:

Seconds_Behind_Master: 0

Master_SSL_Verify_Server_Cert: No

Last_IO_Errno: 0

Last_IO_Error:

Last_SQL_Errno: 0

Last_SQL_Error:

Replicate_Ignore_Server_Ids:

Master_Server_Id: 1

Master_UUID: c52c239c-78d6-11e2-917f-00241db92e69

Master_Info_File: /home/modify/sandboxes/rsandbox_5_6_10/node2/data/master.info

SQL_Delay: 0

SQL_Remaining_Delay: NULL

Slave_SQL_Running_State: Slave has read all relay log; waiting for the slave I/O thread to update it

Master_Retry_Count: 86400

Master_Bind:

Last_IO_Error_Timestamp:

Last_SQL_Error_Timestamp:

Master_SSL_Crl:

Master_SSL_Crlpath:

Retrieved_Gtid_Set:

Executed_Gtid_Set:

Auto_Position: 0

1 row in set (0.00 sec)

slave2 [localhost] {msandbox} ((none)) >

没有使用到最新的Auto_Position与GTID,有点遗憾。

参考:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
{ "manifest_version": 3, "name": "My V3 Extension", "version": "versionString", "action": {}, "default_locale": "en", "description": "A plain-text description", "icons": {}, "action": , "author": , "automation": , "background": { "service_worker": }, "chrome_settings_overrides": {}, "chrome_url_overrides": {}, "commands": {}, "content_capabilities": , "content_scripts": [{}], "content_security_policy": "policyString", "converted_from_user_script": , "current_locale": , "declarative_net_request": , "devtools_page": "devtools.html", "differential_fingerprint": , "event_rules": [{}], "externally_connectable": { "matches": ["*://*.contoso.com/*"] }, "file_browser_handlers": [], "file_system_provider_capabilities": { "configurable": true, "multiple_mounts": true, "source": "network" }, "homepage_url": "http://path/to/homepage", "host_permissions": [], "import": [{"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}], "incognito": "spanning, split, or not_allowed", "input_components": , "key": "publicKey", "minimum_chrome_version": "versionString", "nacl_modules": [], "natively_connectable": , "oauth2": , "offline_enabled": true, "omnibox": { "keyword": "aString" }, "optional_permissions": ["tabs"], "options_page": "options.html", "options_ui": { "chrome_style": true, "page": "options.html" }, "permissions": [""], "platforms": , "replacement_web_app": , "requirements": {}, "sandbox": [], "short_name": "Short Name", "side_panel": {}, "storage": { "managed_schema": "schema.json" }, "system_indicator": , "tts_engine": {}, "update_url": "http://path/to/updateInfo.xml", "version_name": "aString", "web_accessible_resources": [] } 请以表格的显示列出在扩展开发中每个属性的作用
07-24

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值