Command
a2enmod rewrite
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';
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...