AWS RDS 介绍
共分为 7 个部分, 其中 第 3部分重点介绍,如何创建一个RDS 实例。
三) AWS RDS 试用MySQL
1. 登录后,访问:https://console.aws.amazon.com/rds/home?region=us-east-1#gettingStarted:
2. 设置
Step 2: Dev/Test
Step 3: DB Details
root/root密码
Step 4: Advanced Settings
3. 启动:
4. 启动完成:
5. 安全组选项
6. 客户端连接
命令:mysql -h mydb.cwsmnpiajkws.us-east-1.rds.amazonaws.com -P 3306 -u root –proot密码 -D myDB
使用mysql的命令 show database; 可以数据库myDB
mysql> status;
--------------
mysql Ver 14.14 Distrib 5.5.51, for Linux (x86_64) using readline 5.1
Connection id: 25
Current database: myDB
Current user: root@ec2-54-152-6-205.compute-1.amazonaws.com
SSL: Not in use
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 5.6.27-log MySQL Community Server (GPL)
Protocol version: 10
Connection: mydb.cwsmnpiajkws.us-east-1.rds.amazonaws.com via TCP/IP
Server characterset: latin1
Db characterset: latin1
Client characterset: utf8
Conn. characterset: utf8
TCP port: 3306
Uptime: 31 min 34 sec
Threads: 2 Questions: 10953 Slow queries: 0 Opens: 357 Flush tables: 1 Open tables: 72 Queries per second avg: 5.782
--------------
|
注释:
a) ping 不通
b) telnet 通