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!

Problem with my.cnf File

Discussion in 'Database Discussion' started by webpanelman, Mar 7, 2015.

  1. webpanelman

    webpanelman Registered

    Joined:
    Apr 9, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I Got this Mail - Alert :

    error: Found option without preceding group in config file: /etc/my.cnf at line: 1
    Fatal error in defaults handling. Program aborted
    /usr/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'


    I tried via WHM to Try MySQL Password

    I Updated the CPANEL

    I Restart Cpanel And My SQL

    But the problem is still there.


    The problem is inside the CPANEL ACCOUNT


    The MySQL server is currently offline.

    The mysql server is offline.


    How i can fix it ?

    which the file that i should edit in ordeto the password to be "YES"
    and not "NO"

    THANKS
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,788
    Likes Received:
    83
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please try to change your MySQL root password though WHM and check this again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you post the output of your /etc/my.cnf file here within CODE tags?

    Thank you.
     
    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