0

我正在尝试在我的虚拟 CentOS 7 服务器上使用github ( https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh )提供的安装脚本安装 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!
4

1 回答 1

0

在 Cmd 中试试这个:

sudo service mysql stop
sudo service mysql start
于 2017-06-02T06:52:01.400 回答