Bug #93255 | Workbench Incorrectly Shows IP Whitelist.. | ||
---|---|---|---|
Submitted: | 20 Nov 2018 8:46 | Modified: | 20 Nov 2018 18:42 |
Reporter: | Guy Thomas | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Workbench | Severity: | S5 (Performance) |
Version: | 8.0 | OS: | Windows |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
Tags: | whitelist replication group |
[20 Nov 2018 8:46]
Guy Thomas
[20 Nov 2018 16:49]
MySQL Verification Team
Hi, This really is not a MySQL BUG nor even a feature. What google document talks about is that your java app will be connecting to your database from a list of IP addresses they shown. The "whitelisting" here means that: 1. your database server need to allow connection from these ip addresses (so on the OS level you need to configure your firewall, fail2ban, snort or any other network firewall/monitoring/security tool you need to whitelist these ip addresses and allow connection from those ip adresses to connect to mysql port) 2. on your mysql server you need to create a user that is allowed to connect from all these ip addresses. (easy, but unsafe, is to create 'user'@'%', proper way is to create for each network 'user'@'ipnetwork/netmask') This document has nothing to do with MySQL Group Replication nor the group replication whitelist you "found" is in any way related to this document. For additional help please contact MySQL Support team, or use https://forums.mysql.com kind regards Bogdan
[20 Nov 2018 18:40]
Guy Thomas
Bogdan Thanks for your input - it seems I was way off looking at the replication field! It makes perfect sense now having to open up my servers firewall to the required IP ranges - which I have now done. However, it still doesnt work!... I have even assigned 0.0.0.0 as an IP address - the script still fails at the same line - the connection string every signle time...... Jdbc.getConnection('jdbc:mysql://<IP>:3306/exponential_db', 'testing', 'over'); I know that this isnt a MySQL bug, but do you happen to have any other suggestions I could try..? As I have stated, I can get the connection by other means without any problem at all (Telnet/app. running in Chrome browser), but I need the script option to work for my project .. Any ideas gratefully received. Thank you. G
[20 Nov 2018 18:42]
Guy Thomas
Bogdan Thanks for your input - it seems I was way off looking at the replication field! It makes perfect sense now having to open up my servers firewall to the required IP ranges - which I have now done. However, it still doesnt work!... I have even assigned 0.0.0.0 as an IP address - the script still fails at the same line - the connection string every signle time...... Jdbc.getConnection('jdbc:mysql://<IP>:3306/exponential_db', 'testing', 'over'); NOTE : The username I have used here 'testing' is: User 'testing@%' on MySQL I know that this isnt a MySQL bug, but do you happen to have any other suggestions I could try..? As I have stated, I can get the connection by other means without any problem at all (Telnet/app. running in Chrome browser), but I need the script option to work for my project .. Any ideas gratefully received. Thank you. G