我正在尝试使用github (https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh)提供的安装脚本在我的虚拟CentOS 7服务器上安装ERPNext。它已经安装了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!发布于 2017-06-02 14:52:01
在Cmd中,尝试以下命令:
sudo service mysql stop
sudo service mysql starthttps://stackoverflow.com/questions/35176636
复制相似问题