I need to create a shorter name for my Mysql database endpoint to be accessed from linux box. Clearly said, my mysql end point is rdsbench.c2wfqsdsqd.us-east-1.rds.amazonaws.com and I would like to create a shorter name, let's say mybenchdb, so I could use:
mysql -hmybenchdb
instead of:
mysql -hrdsbench.c2wfqsdsqd.us-east-1.rds.amazonaws.com.
EDIT: actually I'm using percona toolkit to benchmark rds and compare it to mysql hosted on ec2. The command line is as follows:
pt-upgrade mysql-slow.log.1 h=host1 h=rdsbench.c2wffzqsdsqs.us-east-1.rds.amazonaws.com
so what I would like to do is shorten the rds endpoint I'm passing as parameter for this command.