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';

How to check if Magento is running in production mode or developer mode

If you want to know. your Magento 2 website is running on which environment you can run below command on terminal and very easily you can kn...

Popular Posts

Posts