'Command Not Found' during installation process

  • Filter
  • Time
  • Show
Clear All
new posts

  • 'Command Not Found' during installation process

    I am new to Linux and generally use Windows, but this service is only for Linux so perhaps someone help me figure out what I am doing wrong in this scenario.

    I have followed the guide and instructions to installing the Percona XtraDB Cluster to the tee. However, I get hanged up when I get to Bootstrapping the first node. According to the documentation, it says to do this:

    Instead of changing the configuration, start the first node using the following command:

    [root@pxc1 ~]# /etc/init.d/mysql bootstrap-pxc
    I input that information into my terminal and I just get: Command Not Found.

    $ [root@pxc1 ~]# /etc/init.d/mysql bootstrap-pxc1
    [root@pxc1: command not found

    What am I doing wrong? I copied and pasted it so it can't be a miss spelling. Googling the issue I didn't come up with any results.

  • #2
    Hi Nightstorm;

    What OS are you running? If you're on CentOS 7 (or equivalent), you'll need to use:

    systemctl start mysql@bootstrap.service

    Scott Nemes