The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some assistance please

Discussion in 'General Discussion' started by . Adam ., Jan 18, 2007.

  1. . Adam .

    . Adam . Registered

    Joined:
    Jan 18, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello There,

    I am currently stumped on how to fix an error I am receiving on my server. The MySQL seems as it is turned off, but I have restarted it multiple times and receive the same error every time.
    Now I need this fixed asap, I have root access.. so can someone help me fix this problem please :)

    Sorry if I have posted in wrong forum.

    Thanks,
    Adam
     
  2. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
    Execute:
    Code:
    pico -w /etc/my.cnf
    Find:
    Code:
    basedir=/var/lib
    Replace with:
    Code:
    #basedir=/var/lib
    Execute:
    Code:
    service mysql restart

    If that doesn't work post the contents of your /etc/my.cnf file

    Edit: This might also help...http://forums.cpanel.net/showthread.php?t=36503
     
  3. . Adam .

    . Adam . Registered

    Joined:
    Jan 18, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thanks.. I'm new to all this stuff..

    How do I execute the commands? :confused:

    Sorry lol, im a newbie to this

    Thanks,
    Adam
     
  4. Nhojohl

    Nhojohl Well-Known Member

    Joined:
    Nov 28, 2006
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    16
  5. . Adam .

    . Adam . Registered

    Joined:
    Jan 18, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I dont want to mess the server up... if I do something wrong, it might ruin the server more :(
     
  6. dafut

    dafut Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Although cPanel can essentially be run through the GUI, learning simple command line instructions and editing through SSH is, to me, essential.

    A good users guide to Linux-based command line can be found at:
    http://rute.2038bug.com/rute.html.gz

    Chapters 4 and 6 should give you a lot of the info you'll need. As Nhojohl says, get Putty.

    Otherwise, you'll need someone that can edit files and has root access.

    Best to you.
     
Loading...

Share This Page