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.

Can't connect to MYSQL Server via socket

Discussion in 'Database Discussions' started by samend, Feb 6, 2015.

  1. samend

    samend Member

    Joined:
    Dec 15, 2014
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Community,

    today i have found out, that i can not perform any connections to the mysql_Server via the "localhost" the mysql-Server does only accept connections on 127.0.0.1. What can i do to resolve this problem?

    The mysql Server is running and i can connect to phpmyadmin via cPanel GUI, but when i start to install Wordpress or contao on an cPanel Account i can only establish a mysql connection via the TCP/IP 127.0.0.1 localhost don't works.
     
    #1 samend, Feb 6, 2015
    Last edited: Feb 6, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,694
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. samend

    samend Member

    Joined:
    Dec 15, 2014
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This is the content of my /etc/my.cnf file

    [mysqld]
    default-storage-engine=MyISAM
    innodb_file_per_table=1
    max_allowed_packet=268435456
    open_files_limit=10000



    The MySQL Error logfile don't display any error when i try to connect with the socket and i can configure phpmyadmin to use the UNIX-Socket successfully
     
    #3 samend, Feb 9, 2015
    Last edited: Feb 9, 2015
  4. samend

    samend Member

    Joined:
    Dec 15, 2014
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page