1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What causes this error?

Discussion in 'Databases' started by qwikad.com, Sep 24, 2015.

  1. #1
    It's the first time I experienced this.

    Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (255)

    Restarting MySQL through WHM solved the problem. I am just wondering what caused it in the first place.
     
    qwikad.com, Sep 24, 2015 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Look at the SQL server logs?
     
    PoPSiCLe, Sep 25, 2015 IP
  3. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,151
    Likes Received:
    1,656
    Best Answers:
    29
    Trophy Points:
    475
    #3
    After I restarted it I totally forgot to do that. Thought someone might know. It's a common error. If it happens again I will check out what caused it.

    ** You mean I still can look it up?
     
    qwikad.com, Sep 25, 2015 IP
  4. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #4
    You should be, unless you have set the logs to expire after reboot / shutting down the server. If I look at my Apache log right now, I have entries back to april... :D (Need to clean that shit up)
     
    PoPSiCLe, Sep 25, 2015 IP