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.

mysql not start!

Discussion in 'General Discussion' started by Aldweb, Sep 14, 2005.

  1. Aldweb

    Aldweb Well-Known Member

    Joined:
    Feb 18, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I am trying my start Bd mysql, but appears the following of mistake:

    /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists! mysql has failed, please contact the sysadmin (result was "Warning, no valid mysql.sock file found.mysql has failed").

    I already tried /scripts/mysqlup --forces several times, but it doesn't work.

    For the shell, I placed the command:

    mysqld_safe --skip-grant-tables &

    And Mysql usually works. :) But when I access PhpMyAdmin, any user, visualizes all the databases, of the other customers. Would anybody know how to fasten that problem, for not appearing the databases for all the users?

    One more doubt, if I run that command...

    /usr/bin/mysql_install_db --user=mysql

    will the bd's that they are in /var/lib/mysql/mysql, suffer something?

    Thanks
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    Search the forum. This has been discussed many many times before
     
  3. Aldweb

    Aldweb Well-Known Member

    Joined:
    Feb 18, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Yes I already researched, but none worked.

    My larger problem is:


    I access PhpMyAdmin, any user, visualizes all the databases, of the other customers. Would anybody know how to fasten that problem, for not appearing the databases for all the users?

    i run /scripts/cleanupmysqlprivs, but not resolved. Reminding that am only getting startar the mysql with the command mysqld_safe --skip-grant-tables &
     
    #3 Aldweb, Sep 14, 2005
    Last edited: Sep 14, 2005
Loading...

Share This Page