2024年4月26日

HYEOS

随事而为

frappe-erpnext 使用非root用户创建网站

1 min read

frappe erpnext 在使用非root数据库用户时会出现报错,解决方式是给使用的用户重新授权

grant all privileges on *.* to 'username'@'%' identified by 'password' with grant option;

其后面的with grant opion一定要加

重新授权以后再执行安装命令

bench new-site erp.local --db-name erpnext --db-root-username username --db-root-password password --db-port 3306 --db-host localhost

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注