我试图在我的虚拟CentOS 7服务器上安装ERPNext,并在github上提供安装脚本(https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh)。它安装了MariaDB 10.x,我必须先删除它,然后才能使用该脚本,否则会出现错误。
但是我没有针对以下问题的解决方案,您能帮我解决吗?
sudo bash setup_frappe.sh --setup-production
Installing for centos 7 amd64
In case you encounter an error, you can post on https://discuss.frappe.io
Adding centos mariadb repo
Installing packages for centos. This might take time...
Installing wkhtmltopdf
Configuring CentOS services
Starting services
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!