Comments - After activate mysql, I can't access mysql by php from other server.

7 years ago kanika satija

There can be two reasons of access denied to mariadb server:- 1) firewall or ip tables is enabled but mysql service is not added in it 2) Correct grant is not set for user which you have created

Please provide o/p of below commands:- 1) o/p of services added in firewall or ip tables 2) o/p of below command show grants for <user_name>; 3) error while firing below command mysql -u <user_name> -h "<mariadb_server_IP>" -p

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.