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.

Problem with my.cnf File

Discussion in 'Database Discussions' 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,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    Please try to change your MySQL root password though WHM and check this again.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page