@eifory
nodejs

Как запустить mysql после установки percona xtradb cluster5.7?

установил по мануалу percona xtradb cluster 5.7
при попытке проверить статус mysql , получаю
● mysql.service - LSB: Start and stop the mysql (Percona XtraDB Cluster) daemon
     Loaded: loaded (/etc/init.d/mysql; generated)
     Active: failed (Result: exit-code) since Sun 2020-11-01 08:53:49 UTC; 3h 46min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 1460 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

Nov 01 08:53:09 pxc1 systemd[1]: Starting LSB: Start and stop the mysql (Percona XtraDB Cluster) daemon...
Nov 01 08:53:09 pxc1 mysql[1460]:  * Starting MySQL (Percona XtraDB Cluster) database server mysqld
Nov 01 08:53:09 pxc1 /etc/init.d/mysql[1512]: MySQL PID not found, pid_file detected/guessed: /var/run/mysqld/mysqld.pid
Nov 01 08:53:49 pxc1 mysql[1460]:  * The server quit without updating PID file (/var/run/mysqld/mysqld.pid).
Nov 01 08:53:49 pxc1 mysql[1460]:    ...fail!
Nov 01 08:53:49 pxc1 systemd[1]: mysql.service: Control process exited, code=exited, status=1/FAILURE
Nov 01 08:53:49 pxc1 systemd[1]: mysql.service: Failed with result 'exit-code'.
Nov 01 08:53:49 pxc1 systemd[1]: Failed to start LSB: Start and stop the mysql (Percona XtraDB Cluster) daemon.

/etc/mysql/my.cnf:
#
# The Percona XtraDB Cluster 5.7 configuration file.
#
#
# * IMPORTANT: Additional settings that can override those from this file!
#   The files must end with '.cnf', otherwise they'll be ignored.
#   Please make any edits and changes to the appropriate sectional files
#   included below.
#
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/percona-xtradb-cluster.conf.d/

И вот здесь, видимо, должны быть настройки mysql , а их нет
/etc/mysql/conf.d/mysql.cnf
[mysql]
  • Вопрос задан
  • 240 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы