天翼云 RDS数据库操作

9 篇文章 0 订阅

 

1.RDS数据库创建好之后点击RDS实例管理找到已下信息

 

官方文档 -1:http://www.ctyun.cn/help/qslist/567

官方文档 -2:http://www.ctyun.cn/help/qslist/544

 

如图:

IP : 链接地址一列下方对应的是IP:POST(ip:端口),获取冒号左边的数据就是IP地址

HOST : 端口号(获取(IP:POST)冒号右边的数据就是端口号)

user : 天翼云默认RDS数据库用户名为root

password : 就是创建RDS实例时创建的密码

 

 

 

2.RDS数据库不对外展示,只有内网ip可以操作RDS数据库实例。打开一个安装过mysql数据库的天翼云命令窗口。

[root@ecs-7bec-0002 ~]# mysql -h<IP> -P<HOST> -u<user> -p<password>    //<红色> 是对应的值,命令不包括<>
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 95366
Server version: 5.6.30-log MySQL Community Server (GPL)

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

 

3.RDS数据库导出sql文件命令,直接在linux命令窗口输入

mysqldump --databases <数据库名称> --single-transaction --hex-blob --set-gtid-purged=
OFF --no-create-info --skip-triggers -u <数据库用户名> -p -h <数据库rds内网地址> -P <rds数据库端口> -r <生成的文件路径>

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架构师认证考试。天翼认证解决方案架构师题库知识点,帮你直接通过天翼解决方案架

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值