jaroslawzielinski / magento2warden
Magento2 Warden project
Fund package maintenance!
By Me A Coffee
Installs: 218
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Language:Shell
Type:project
- dev-master
- 1.2.1
- 1.2.0
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-feature/front-work-fixes
- dev-feature/readme-fixes
- dev-feature/overall-fixes-env-dist
- dev-feature/mysql-errors-solution
- dev-feature/dbtests-readme-fix
- dev-feature/little-fixes
- dev-feature/fix-elasticsearch-settings
- dev-feature/upgrade-elasticsearch-memory
- dev-feature/db-tests
This package is auto-updated.
Last update: 2025-09-25 12:38:05 UTC
README
Magento2 project using warden
How to use shell commands
in packagist
cd YourProject
composer require --dev jaroslawzielinski/magento2warden
sh vendor/jaroslawzielinski/magento2warden/setup.sh
cp .env.dist .env
make init
make magento-install magento-setup
make sample-data
make theme
and finally
make docker-down init theme
Aliases
make tea
(= make theme)make thee
(= make theme)make turkish delight
(= make assets cache)make cold-brew coffee
(= make assets cache)make coffee
(= make cache)
Possible errors
Database error
ERROR 1130 (HY000): Host '' is not allowed to connect to this MySQL server
Your root account, and this statement applies to any account, may only have been added with localhost access (which is recommended).
You can check this with:
SELECT host FROM mysql.user WHERE User = 'root';
If you only see results with localhost and 127.0.0.1, you cannot connect from an external source. If you see other IP addresses, but not the one you're connecting from - that's also an indication.
You will need to add the IP address of each system that you want to grant access to, and then grant privileges:
CREATE USER 'root'@'ip_address' IDENTIFIED BY 'some_pass'; GRANT ALL PRIVILEGES ON *.* TO 'root'@'ip_address';
If you see %, well then, there's another problem altogether as that is "any remote source". If however you do want any/all systems to connect via root, use the % wildcard to grant access:
CREATE USER 'root'@'%' IDENTIFIED BY 'some_pass'; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
Finally, reload the permissions, and you should be able to have remote access:
FLUSH PRIVILEGES;
solution taken from here