Llista de comandaments útils

Magento2

Reindexar índexs com usuari magento: php bin/magento indexer:reindex

Gestió usuaris Mysql

Mysql -u root -p
CREATE USER ‘testuser’@’localhost’ IDENTIFIED BY ‘test123test!’;
SELECT User,Host FROM mysql.user;
DROP USER ‘testuser’@’localhost’;
SET PASSWORD FOR ‘username’@’hostname’ = PASSWORD(‘password’);
GRANT CREATE ON *.* TO ‘testuser’@’localhost’;
GRANT DROP ON tutorial_database.* TO ‘testuser’@’localhost’;
SHOW GRANTS FOR ‘testuser’@’localhost’;
FLUSH PRIVILEGES;