时间:2021-07-01 10:21:17 帮助过:3人阅读
之后给予许可访问
GRANT ALL PRIVILEGES ON magento2.* TO ‘root‘@‘%‘ WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON magento2.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘YourPassword‘;
FLUSH PRIVILEGES;
你可以像测试
mysql -u root -h localhost -p
如果是允许mysql的控制台,您的问题得到有效解决。
magento安装时的数据库访问错误
标签: