Professional Documents
Culture Documents
The Power of MySQL Shell_ A Guide to Create an InnoDB Cluster - Another Boring Tech Blog
The Power of MySQL Shell_ A Guide to Create an InnoDB Cluster - Another Boring Tech Blog
START ABOUT ME
Menu
Introduction
https://anotherboringtechblog.com/2024/01/mysql-shell-create-innodb-cluster/ 1/6
04/07/2024, 14:52 The Power of MySQL Shell: A Guide to Create an InnoDB Cluster - Another Boring Tech Blog
Step-by-Step Guide
https://anotherboringtechblog.com/2024/01/mysql-shell-create-innodb-cluster/ 2/6
04/07/2024, 14:52 The Power of MySQL Shell: A Guide to Create an InnoDB Cluster - Another Boring Tech Blog
https://anotherboringtechblog.com/2024/01/mysql-shell-create-innodb-cluster/ 3/6
04/07/2024, 14:52 The Power of MySQL Shell: A Guide to Create an InnoDB Cluster - Another Boring Tech Blog
51 }
52 ],
53 "status": "error"
54 }
4. Applying Necessary Parameters: Apply the necessary parameters for
your cluster manually or using the dba.configureInstance() command.
This step configures your MySQL instance for InnoDB Cluster use and
may require server updates or restarts.
1 MySQL localhost:8031 ssl JS > dba.configureInstance()
2
3 Configuring local MySQL instance listening at port 8031 for use
4
5 This instance reports its own address as single-8031:8031
6
7 applierWorkerThreads will be set to the default value of 4.
8
9 NOTE: Some configuration options need to be fixed:
10 +----------------------------------------+---------------+------
11 | Variable | Current Value | Requi
12 +----------------------------------------+---------------+------
13 | binlog_transaction_dependency_tracking | COMMIT_ORDER | WRITE
14 | enforce_gtid_consistency | OFF | ON
15 | gtid_mode | OFF | ON
16 | server_id | 1 | <uniq
17 +----------------------------------------+---------------+------
18
19 Some variables need to be changed, but cannot be done dynamicall
20
21 Do you want to perform the required configuration changes? [y/n]
22
23 Do you want to restart the instance after configuring it? [y/n]:
24
25 Configuring instance...
26
27 The instance 'single-8031:8031' was configured to be used in an
28
29 Restarting MySQL...
30
31 NOTE: MySQL server at single-8031:8031 was restarted.
https://anotherboringtechblog.com/2024/01/mysql-shell-create-innodb-cluster/ 4/6
04/07/2024, 14:52 The Power of MySQL Shell: A Guide to Create an InnoDB Cluster - Another Boring Tech Blog
Conclusion
Creating an InnoDB cluster becomes more simplified and fluid using the
MySQL shell. Following the detailed instructions in this blog post ensures
that the process is carried out safely and efficiently.
https://anotherboringtechblog.com/2024/01/mysql-shell-create-innodb-cluster/ 5/6
04/07/2024, 14:52 The Power of MySQL Shell: A Guide to Create an InnoDB Cluster - Another Boring Tech Blog
Additional Resources
© 2024 Another Boring Tech Blog | Powered by Minimalist Blog WordPress Theme
https://anotherboringtechblog.com/2024/01/mysql-shell-create-innodb-cluster/ 6/6