Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mySQL not working & security issue

Discussion in 'Security' started by smile, Nov 5, 2004.

  1. smile

    smile Well-Known Member

    Joined:
    Oct 2, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    Since a couple of hours back the mySQL on my server has started giving the following errors :

    Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)

    I tried cpanel upgrade, restarted server but the mySQL problem continues

    Then I checked the server processes and found that there are 2 strange processes running and I'm not sure what this processes do.

    /bin/sh/etc/rc3.d/S99localstart
    1 top -n 2 -b -

    These processes are running as root. Can some one please help ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,191
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    kill all mysql running on the server. then try mysql restart; via /etc/rc.d/init.d/mysql start
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. smile

    smile Well-Known Member

    Joined:
    Oct 2, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    156
    Thanks but that didn't worked :(

    I had to reset the mySQL local password and then everything went back to normal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice