jaroslawzielinski/magento2warden
最新稳定版本:1.2.1
Composer 安装命令:
composer create-project jaroslawzielinski/magento2warden
包简介
Magento2 Warden project
README 文档
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
统计信息
- 总下载量: 243
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-05