To solve this issue follow these followed steps.
- Connect mysql -u root -p
- Enter password for the root user
- now mysql terminal will be displayed
- In mysql terminal run these queries with your hostname and password
- CREATE USER 'username'@'IP Address of webserver' IDENTIFIED BY 'passoword';
- GRANT ALL PRIVILEGES ON *.* TO 'username'@'192.168.1.102' WITH GRANT OPTION;
0 comments:
Post a Comment