Learn about Centmin Mod LEMP Stack today
Register Now

MariaDB Centmin Mod 0.6 - mysql password ... help

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by BinhDTX, Jul 25, 2014.

  1. BinhDTX

    BinhDTX New Member

    4
    1
    3
    May 27, 2014
    Hồ Chí Minh City, Viet nam
    Ratings:
    +1
    Local Time:
    7:28 PM
    I'm using Centmin Mod 2000.06 before and I've update mysql password after that i can't log in mysql.
    How to view the new password on file log , anyway ?

    Thank you

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:28 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    8:28 PM
    latest
    latest
    try

    $ cat /root/.my.cnf

    yes?
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,361
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    10:28 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that's only manually set read only password that someone would set after setting mysql root password

    if you change mysql root password, it won't automatically change /root/.my.cnf you have to do that manually