- I am using MySql Version 5.7.17 with centos-7 on AWS EC2 Instance(Server1)
- I have added entry "bind-address=0.0.0.0" in "/etc/my.cnf"
- Added inbound rule in security group for port 3306 with 0.0.0.0/0
- Added new user and assigned all privileges with following queries
- GRANT ALL PRIVILEGES ON . TO bob@'%' identified by 'password';
- FLUSH PRIVILEGES;
- Another EC2 instance(Server2) is on same VPC.
Still,I am not able to connect MySQL database from remote server(Server2) to server(Server1).