By nisari
I am trying to create an instance in one AWS region that would be a group replica of an instance in a different region(both are database servers). I followed the digital ocean’s tutorial on how to configure mysql group replication on ubuntu 16.04.
But, when I modify the my.cnf file and restart mysql, I get the following errors in the mysql’s error log: 2018-01-31T12:33:21.855687Z 0 [ERROR] Can’t start server: Bind on TCP/IP port: Cannot assign requested address 2018-01-31T12:33:21.855690Z 0 [ERROR] Do you already have another mysqld server running on port: 3306? 2018-01-31T12:33:21.855699Z 0 [ERROR] Aborting
When I changed the config to the default one and then start mysql, I am able to grep mysql using $sudo netstat -lntp|grep 3306.
Can anyone tell me how I can overcome this issue?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @nisari,
You could run netstat -lp | grep 3306 to find out what program is already listening on port 3306, then you can stop MySQL which is already running by kill -9 pid and try again with group replication configuration.
Regards, Rajkishore
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.