1.搭建基础环境

[root@MHA-Master-201 mysql-backup]# !mysql
mysql -uroot -p123456
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.26-log MySQL Community Server (GPL)

Copyright (c) 2000, 2019, 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.

mysql> source /scripts/xtrabackup/add_user.sql;
Query OK, 0 rows affected (0.07 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2022-01-03
  • 2021-12-04
猜你喜欢
  • 2021-11-27
  • 2021-12-04
  • 2021-04-13
  • 2021-06-24
  • 2022-12-23
  • 2021-07-08
  • 2021-08-07
相关资源
相似解决方案