Learn about Centmin Mod LEMP Stack today
Register Now

MariaDB Issue after install

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Jake, Feb 3, 2015.

  1. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    6:40 AM
    NA
    Maria DB 5.5
    Code:
    *************************************************
    * MariaDB Security Setup
    *************************************************
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
    
    -------------------------------------------------------
    MySQL root user password set
    MySQL root user added to /root/.my.cnf
    -------------------------------------------------------
    MySQL root password: blah
    -------------------------------------------------------
    *************************************************
    * MariaDB Security Setup Completed
    *************************************************
    
    hey guys,
    I just installed this on my server, and for whatever reason maria db isn't working. Any ideas?

     
  2. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    4:40 PM
    latest
    10
    Did you use the .07 stable or the .08 beta?
     
  3. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    6:40 AM
    NA
    Maria DB 5.5
    Hey Matt, Thankyou for your reply, and this would be the stable .07 stable version, clean version of centos 6.5.
     
  4. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    6:40 AM
    NA
    Maria DB 5.5
    Also, this might be beneficial, I did also do a yum update prior to the install, so that put me at
    CentOS release 5.11 (Final)
     
  5. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    6:40 AM
    NA
    Maria DB 5.5
    I am an idiot, I am running a old version of centos, could that be the issue too?
     
  6. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:40 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    hmm that probably is related, Centmin Mod .07 and higher only tested with CentOS 6.x and higher. I no longer test with CentOS 5.x too old !

    Is this a fresh OS install ? Centmin Mod only works well with fresh CentOS OS install that isn't polluted with other control panels or something installed.

    might need to follow tips at How to troubleshoot Centmin Mod initial install issues | Centmin Mod Community to gather install log info etc
     
  7. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    6:40 AM
    NA
    Maria DB 5.5
    Yea, its a fresh install. I am an idiot and when I had the dedicated set up I said 5.6 not thinking... BLEH. Ill report back after its installed with the newer version LOL.
     
  8. Jake

    Jake Member

    76
    10
    8
    Feb 3, 2015
    Ratings:
    +11
    Local Time:
    6:40 AM
    NA
    Maria DB 5.5
    Fixed with the newer version!
     
  9. eva2000

    eva2000 Administrator Staff Member

    53,488
    12,130
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,671
    Local Time:
    6:40 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Glad to hear :)
     
  10. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    4:40 PM
    latest
    10
    Glad to hear - My next question was about which OS you installed lol!