Mysql create Database and give permission to user to access and write privilege.

Login in mysql command

mysql -u root -p

Create database command

CREATE DATABASE m2;

Grant privilege

GRANT ALL PRIVILEGES ON m2.* TO 'root'@'localhost';

Puneet Kumar Magento Developer
1 reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply