Installation source!

Discussion in 'HOWTO-Related Questions' started by poba, Mar 20, 2007.

  1. poba

    poba New Member

    The Perfect Setup - Debian Sarge and MySQL 5!


    I'm trying to setup Debian Sarge server with MySQL 5. If I follow the "The Perfect Setup" instructions I get MySQL 4. I tryed to change this line
    apt-get install mysql-server mysql-client libmysqlclient12-dev
    during the setup, but without success. Then I changed the installation source and try to update MySQL4 to 5. Nothing.

    Sorry for n00b question, but please help me.
    Last edited: Mar 20, 2007
  2. falko

    falko Super Moderator ISPConfig Developer

    Do you see any MySQL 5 packages when you run
    apt-cache search mysql
    ? If not, you can try the packages from .
  3. poba

    poba New Member

    Thanks for reply.

    First I checked if there are MySQL 5 packages. There were only MySQL 4 packages. So I added source in /etc/apt/sources.list

    #deb file:///cdrom/ sarge main
    deb stable all
    deb-src stable all
    deb stable main
    deb-src stable main
    deb stable/updates main
    But now I get this! There is MySQL 5, but in the end it's "Checking for corrupt, not cleanly closed and upgrade needing tables."

    debian:~# apt-get install mysql-server mysql-client libmysqlclient12-dev
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
      libdbd-mysql-perl libdbi-perl libmysqlclient12 libmysqlclient14 libmysqlclient15off libnet-daemon-perl libplrpc-perl
      mysql-client-5.0 mysql-common mysql-server-5.0
    Suggested packages:
      dbishell mysql-doc tinyca
    Recommended packages:
    The following NEW packages will be installed:
      libdbd-mysql-perl libdbi-perl libmysqlclient12 libmysqlclient12-dev libmysqlclient14 libmysqlclient15off libnet-daemon-perl
      libplrpc-perl mysql-client mysql-client-5.0 mysql-common mysql-server mysql-server-5.0
    0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
    Need to get 39.4MB of archives.
    After unpacking 103MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 stable/main libnet-daemon-perl 0.38-1 [46.0kB]
    Get:2 stable/all mysql-common 5.0.32-1.dotdeb.1 [51.9kB]
    Get:3 stable/main libplrpc-perl 0.2017-1 [35.0kB]
    Get:4 stable/main libdbi-perl 1.46-6 [606kB]
    Get:5 stable/all libmysqlclient14 4.1.15-0.dotdeb.4 [1206kB]
    Get:6 stable/main libmysqlclient12 4.0.24-10sarge2 [297kB]
    Get:7 stable/main libmysqlclient12-dev 4.0.24-10sarge2 [2922kB]
    Get:8 stable/all libdbd-mysql-perl 2.9007-0.dotdeb.0 [133kB]
    Get:9 stable/all libmysqlclient15off 5.0.32-1.dotdeb.1 [1774kB]
    Get:10 stable/all mysql-client-5.0 5.0.32-1.dotdeb.1 [7087kB]
    Get:11 stable/all mysql-server-5.0 5.0.32-1.dotdeb.1 [25.2MB]
    Get:12 stable/all mysql-client 5.0.32-1.dotdeb.1 [43.4kB]
    Get:13 stable/all mysql-server 5.0.32-1.dotdeb.1 [45.5kB]
    Fetched 39.4MB in 1m53s (348kB/s)
    Preconfiguring packages ...
    Selecting previously deselected package mysql-common.
    (Reading database ... 22341 files and directories currently installed.)
    Unpacking mysql-common (from .../mysql-common_5.0.32-1.dotdeb.1_all.deb) ...
    Selecting previously deselected package libnet-daemon-perl.
    Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.38-1_all.deb) ...
    Selecting previously deselected package libplrpc-perl.
    Unpacking libplrpc-perl (from .../libplrpc-perl_0.2017-1_all.deb) ...
    Selecting previously deselected package libdbi-perl.
    Unpacking libdbi-perl (from .../libdbi-perl_1.46-6_i386.deb) ...
    Selecting previously deselected package libmysqlclient14.
    Unpacking libmysqlclient14 (from .../libmysqlclient14_4.1.15-0.dotdeb.4_i386.deb) ...
    Selecting previously deselected package libdbd-mysql-perl.
    Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_2.9007-0.dotdeb.0_i386.deb) ...
    Selecting previously deselected package libmysqlclient15off.
    Unpacking libmysqlclient15off (from .../libmysqlclient15off_5.0.32-1.dotdeb.1_i386.deb) ...
    Selecting previously deselected package mysql-client-5.0.
    Unpacking mysql-client-5.0 (from .../mysql-client-5.0_5.0.32-1.dotdeb.1_i386.deb) ...
    Setting up mysql-common (5.0.32-1.dotdeb.1) ...
    Selecting previously deselected package mysql-server-5.0.
    (Reading database ... 22556 files and directories currently installed.)
    Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.32-1.dotdeb.1_i386.deb) ...
    Selecting previously deselected package libmysqlclient12.
    Unpacking libmysqlclient12 (from .../libmysqlclient12_4.0.24-10sarge2_i386.deb) ...
    Selecting previously deselected package mysql-client.
    Unpacking mysql-client (from .../mysql-client_5.0.32-1.dotdeb.1_all.deb) ...
    Selecting previously deselected package mysql-server.
    Unpacking mysql-server (from .../mysql-server_5.0.32-1.dotdeb.1_all.deb) ...
    Selecting previously deselected package libmysqlclient12-dev.
    Unpacking libmysqlclient12-dev (from .../libmysqlclient12-dev_4.0.24-10sarge2_i386.deb) ...
    Setting up libnet-daemon-perl (0.38-1) ...
    Setting up libplrpc-perl (0.2017-1) ...
    Setting up libdbi-perl (1.46-6) ...
    Setting up libmysqlclient14 (4.1.15-0.dotdeb.4) ...
    Setting up libdbd-mysql-perl (2.9007-0.dotdeb.0) ...
    Setting up libmysqlclient15off (5.0.32-1.dotdeb.1) ...
    Setting up mysql-client-5.0 (5.0.32-1.dotdeb.1) ...
    Setting up mysql-server-5.0 (5.0.32-1.dotdeb.1) ...
    Stopping MySQL database server: mysqld.
    Starting MySQL database server: mysqld.
    Checking for corrupt, not cleanly closed and upgrade needing tables.
    Setting up libmysqlclient12 (4.0.24-10sarge2) ...
    Setting up mysql-client (5.0.32-1.dotdeb.1) ...
    Setting up mysql-server (5.0.32-1.dotdeb.1) ...
    Setting up libmysqlclient12-dev (4.0.24-10sarge2) ...
    debian:~# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:smtp                  *:*                     LISTEN     4712/exim4
    tcp        1      1 debian.pc-storitv:32787 debian.camtp.uni-mb:www LAST_ACK   -
    tcp6       0      0 *:ssh                   *:*                     LISTEN     4988/sshd
    tcp6       0      0 *:smtp                  *:*                     LISTEN     4712/exim4
    tcp6       0      0 ::ffff: ::ffff: ESTABLISHED5037/sshd: [email protected]
    tcp6       0    148 ::ffff: ::ffff: ESTABLISHED5030/0
    tcp6       0      0 ::ffff: ::ffff: ESTABLISHED5042/sshd: [email protected]
  4. falko

    falko Super Moderator ISPConfig Developer

    That's normal.
    Please start MySQL:
    /etc/init.d/mysql restart

Share This Page