Not the answer you need?
Register and ask your own question!

Percona XtraDB Cluster 5.6 -> mysqld_safe doesn't work since Version 5.6.35

at02at02 EntrantCurrent User Role Beginner
Failed to start MySQL server with the script "mysqld_safe" after Version 5.6.34.

Comments

  • lorraine.pocklingtonlorraine.pocklington Percona Community Manager Legacy User Role Patron
    What environment are you running in?
    Are you getting error messages?
    We probably need a bit more detail from you to be able to help.
  • at02at02 Entrant Current User Role Beginner
    Running environment: CentOS 7
    PXC version: Percona-XtraDB-Cluster-5.6.37-rel82.2-26.21.3.Linux.x86_64.ssl101.tar.gz


    Here is the error message:

    +++
    Starting MySQL (Percona XtraDB Cluster).171212 12:36:18 mysqld_safe The file /mnt/workspace/percona-xtradb-cluster-5.6-binary-combined/label_exp/centos6-64/Percona-XtraDB-Cluster-5.6.37-82.2/46/usr/local/Percona-XtraDB-Cluster-5.6.37-rel82.2-26.21.3.Linux.x86_64.ssl101/bin/mysqld
    does not exist or is not executable. Please cd to the mysql installation
    directory and restart this script from there as follows:
    ./bin/mysqld_safe&
    See http://dev.mysql.com/doc/mysql/en/mysqld-safe.html for more information
    ERROR! The server quit without updating PID file (/home/mysql/data/db2.cas.pid).
    ERROR! MySQL (Percona XtraDB Cluster) server startup failed!
    +++


    I found the "MY_PWD" is set incorrectly,

    The script "mysqld_safe" works fine after I changed it. (MY_PWD=`pwd`)
  • lorraine.pocklingtonlorraine.pocklington Percona Community Manager Legacy User Role Patron
    Thanks for the update - it might well help someone else in the future. Glad you're up and running!
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.