Debian problem

Discussion in 'Installation/Configuration' started by smtalking, Feb 4, 2009.

  1. smtalking

    smtalking New Member

    Hi all ommunauty , it's my first message :D

    I have Debian in my dedicaced server and i have read a tutorial for lighttpd and php + mysql installation :

    Here http://www.howtoforge.com/lighttpd_mysql_php_debian_etch

    All work correctly but mysql don't work , when i type in ssh ( putty )

    Code:
    mysqladmin -u root password yourrootsqlpassword
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
    Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
    
    * I have tried to reinstall to delete mysql without result
    * I have tried to reinstall mysql without result

    My questions :

    Some one know how to delete totaly mysql from my server ? and reinstall it again i have tried :
    apt-get remove --purge mysql-server mysql-server , but the configurations files still in the server

    When i try apt-get install mysql-server5 mysql-client5 :

    E: Couldn't find package mysql-server5


    Some oine can give me the source.list package ?

    I have this actually :

    Code:
    /etc/apt# cat sources.list
    #
    # deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official amd64 NETINST Binary-1 20070820-20:16]/ etch contrib main
    
    #deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_ - Official amd64 NETINST Binary-1 20070820-20:16]/ etch contrib main
    
    deb http://security.debian.org/ etch/updates main contrib
    deb-src http://security.debian.org/ etch/updates main contrib
    
    deb http://ftp.fr.debian.org/debian/ etch main
    deb-src http://ftp.fr.debian.org/debian/ etch main
    deb http://security.debian.org/ etch/updates main contrib non-free
    deb-src http://security.debian.org/ etch/updates main contrib non-free
    deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
    deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free
    
    Thank you :D
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please make sure that MySQL is started:
    Code:
    /etc/init.d/mysql restart
     

Share This Page