Mysql create user and privileges assign.

 Remove privileges

REVOKE ALL PRIVILEGES ON aws_oxtoolstaging.* FROM 'aws_oxtoolstaging'@'localhost';



Assign privileges

CREATE USER 'username'@'localhost' IDENTIFIED BY 'S1@gingin';

GRANT ALL PRIVILEGES ON databases . * TO 'username'@'localhost';


show privileges

show grants for 'username'@'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