mysql connect problem

Discussion in 'Installation/Configuration' started by symmetry, Apr 30, 2006.

  1. symmetry

    symmetry New Member

    Hello,

    when I try to login via phpmyadmin, I get the following error:

    and when I try to start the database:

    syslog :(
    can someone help me?
    Thanks a lot
     
  2. till

    till Super Moderator

    Which linux distribution do you use?

    Did you install the mysql package that comes with your linux distribution?
     
  3. symmetry

    symmetry New Member

    I have a Debian Sarge installation.
    It was already installed when I got the root server. They made a Lamp installation.

    and when I want do remove mysql he says the following:

     
  4. falko

    falko Super Moderator

    It seems as if MySQL isn't installed. Install it now.
    It's strange that /var/log/syslog doesn't exist on your Debian system... :confused:
     
  5. symmetry

    symmetry New Member

    yes it's very strange

    but I am able to start mysql, he gives me an error... so it must be installed.
     
  6. symmetry

    symmetry New Member

    syslog works again

    here the error that mysql causes:

     
  7. falko

    falko Super Moderator

    Please try this:
    Code:
    apt-get install mysql-server mysql-client libmysqlclient12-dev
     
  8. symmetry

    symmetry New Member

    But I still get the same error :(
     
  9. falko

    falko Super Moderator

    What's in /etc/mysql/my.cnf? What's the output of
    Code:
    netstat -tap
    and
    Code:
    ps aux|grep mysql
    ?
     
  10. symmetry

    symmetry New Member

    /etc/mysql/my.cnf:

    netstat -tap:

     
  11. falko

    falko Super Moderator

    Looks ok. What's the output of
    Code:
    ls -la /var/run/mysqld
    ?
     
  12. symmetry

    symmetry New Member

    ls -la /var/run/mysqld:

     
  13. falko

    falko Super Moderator

    What's the output of
    Code:
    ls -la /var/run
    ?
     
  14. symmetry

    symmetry New Member

    ls -la /var/run :

     

Share This Page