- ~/my.cnf
[mysql] prompt='\\v \\u: [\\d] \\R:\\m> '
- 接続してみる
% mysql -h aurora01.*********.ap-northeast-1.rds.amazonaws.com -u awsuser -p Enter password: (中略) 5.6.10-log awsuser: [(none)] 04:39> use mydb; 5.6.10-log awsuser: [mydb] 04:39>
[mysql] prompt='\\v \\u: [\\d] \\R:\\m> '
% mysql -h aurora01.*********.ap-northeast-1.rds.amazonaws.com -u awsuser -p Enter password: (中略) 5.6.10-log awsuser: [(none)] 04:39> use mydb; 5.6.10-log awsuser: [mydb] 04:39>