Pentru a adauga un IP in firewall-ul MySQL trebuie sa urmariti urmatori pasi:
mysql -u root -p
Enter password: <enter password>
mysql> GRANT ALL ON *.* to root@'123.123.123.123' IDENTIFIED BY 'parola ta root';
mysql> FLUSH PRIVILEGES;
mysql> exit
Aceste comenzi le puteti folosi pe CentOS sau pe Fedora.