Discover Centmin Mod today
Register Now

/usr/bin/mysql_secure_installation: line 379: find_mysql_client: command not found

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Jun 9, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    Hi after installation i run to secure mysql removing anonymous login and test database:

    Code:
    mysql_secure_installation
    I got a prompt for root password to start but on the top i got this:
    Code:
    /usr/bin/mysql_secure_installation: line 379: find_mysql_client: command not found
    Why?

    Thanks
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
    can be ignored.. left over error from MariaDB changes itself and you do not need to run mysql_secure_installation if you use .07 beta and onwards as password is auto generated at the end

    i.e. for .07 beta 21

    Code:
    *************************************************
    * Centmin Mod install completed....
    *************************************************
    
    *************************************************
    *  Setup memcached_*.php admin page ...
    *************************************************
    
    Setup Memcached Server Admin Login Details for /usr/local/nginx/html/memcache_28368.php
    current memcached username: memcacheuser
    current memcached password: memcachepass
    *************************************************
    Memcached Server Admin Login: /usr/local/nginx/html/memcache_28368.php
    new memcached username: memadmin8852493ccc
    new memcached password: a21726d5b59b37ce16b02ef8
    *************************************************
    *************************************************
    * memcache_28368.php admin page installed
    *************************************************
    
    *************************************************
    * MariaDB Security Setup
    *************************************************
    
    -------------------------------------------------------
    MySQL root user password set
    MySQL root user added to /root/.my.cnf
    -------------------------------------------------------
    MySQL root password: vxohyeOzCGkTvRAg
    -------------------------------------------------------
    *************************************************
    * MariaDB Security Setup Completed
    *************************************************
     
  3. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    I am running this to remove anonymous logins and test database and not to create a new password :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    I am not sure about anonymous logins but on my installation i had the test database :(

    I found it using phpmyadmin before i delete it.
     
  6. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
    .06 stable or .07 beta ?
     
  7. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    123.07beta21

    Code:
    https://github.com/centminmod/centminmod/archive/123.07beta21.zip
     
  8. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
  9. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    Fresh install only latest Centos 6.5 64bit

    I just format the server and install latest centminmod 123.07beta21 .
     
  10. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
    strange then
     
  11. RoldanLT

    RoldanLT Well-Known Member

    3,790
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,253
    Local Time:
    3:22 AM
    1.11
    10.2
    Last time when I setting up my Live Server for Final install after I've done installing minimal centos, I also have the test database.
     
    • Like Like x 1
  12. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
    ah indeed there is ! will fix that :)
     
  13. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    Ok the test database is not so important as the anonymous logins that i am not sure if it is removed by the script.
     
  14. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
  15. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    Now i have remove them from the mysql_secure_installation but i think that was not there and your script do it already :)

    So only the test database need a fix to not be there :)
     
    • Like Like x 1
  16. eva2000

    eva2000 Administrator Staff Member

    27,792
    6,339
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,347
    Local Time:
    5:22 AM
    Nginx 1.13.x
    MariaDB 5.5
  17. pamamolf

    pamamolf Well-Known Member

    2,450
    220
    63
    May 31, 2014
    Ratings:
    +377
    Local Time:
    10:22 PM
    Nginx-1.11.x
    MariaDB 10
    Nice good and fast job :)
     
    • Like Like x 1