Hello everyone it’s me candle.
This topic is a little thing but I note to self.
If we use RDS, we don’t need Mysql server in the EC2.
You may want to install only the mysql command.
I will explain it.
You use EC2 and RDS
Mysql server is installed by mysql-server of yum.
The package of controlling mysql server is mysql-devel.
So you only install mysq-devel, it is ok.
Check it out.
yum info mysql-devel
Let’s install it.
sudo yum install mysql-devel
Try to execute this, you can see that mysql server doesn’t launch.
sudo service mysqld start
On the other hand the mysql command exists.
mysql -u root -p
After that, you can login by enter the username, password and host of RDS.
I just post this for note to me.