English Portuguese (Brazil)
## OR ##
#OR
Replace your_username and your_password depending on what you want the username and password to be. Here, host_ip_addr is the hostname or IP address of the computer from where you want to connect to the MySQL/MariaDB server. You can also use % as host_ip_addr if you want to connect from any computer. It can also be something like 192.168.2.% if you want to connect from computers from the IP range 192.168.2.1 – 192.168.2.254.
Restart firewalld.service
sudo firewall-cmd --permanent --zone=public --add-port=3306/tcp
sudo firewall-cmd --permanent --zone=public --add-service=mysql
sudo systemctl restart {mysqld|mariadb}
systemctl restart firewalld.service
you can ensure that with the following command `rpm -qc [package]`.