![]() | 1 | initial version |
Problem solved thanks all, I used parts of all your answers to open the firewall and create a sql user:
firewall-cmd --permanent --add-service=mysql firewall-cmd --reload
mysql -u root -p (or try just: mysql)
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON . TO 'newuser'@'localhost' WITH GRANT OPTION; CREATE USER 'newuser'@'%' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON . TO 'newuser'@'%' WITH GRANT OPTION;