pomoc so startom mysql

Sekcia: Konfigurácia 23.05.2007 | 18:20
xyxy   Návštevník
Caute,
pri starte mysql mi pise nieco taketo
[root@localhost mysql]# bin/mysqld_safe --user=mysql &
[1] 4644
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/var
STOPPING server from pid file /usr/local/mysql/var/localhost.pid
070523 14:40:26 mysqld ended


[1]+ Done bin/mysqld_safe --user=mysql

a pravdepodobne to ani nenastartuje,co s tim?
    • Re: pomoc so startom mysql 23.05.2007 | 20:36
      xyxy   Návštevník
      a dodam este ze nic som nemenil,cista instalacia ;-)
    • Re: pomoc so startom mysql 23.05.2007 | 21:50
      Avatar borg Arch, Debian jessie  Administrátor
      do logov si pozeral?
      • Re: pomoc so startom mysql 23.05.2007 | 22:15
        xyxy   Návštevník
        ani nie,stahuj mysql5 a pokusal som sa vygooglit tu chybu...ale riesenie som nikde nevidel.
        • Re: pomoc so startom mysql 23.05.2007 | 22:16
          Avatar lime Debian, Red Hat, Fedora Core 3  Používateľ
          ani nie :)), ta potom co riesis
          Prejdite z modrej obrazovky k linuxu :))
          • Re: pomoc so startom mysql 23.05.2007 | 22:22
            Avatar lime Debian, Red Hat, Fedora Core 3  Používateľ
            Ta si to prekompiluj :))
            potrebne kniznice
            libtermcap
            libtermcap-devel

            mozno ich aj mas :))

            cd /usr/local/src
            tar -zxvf mysql-5.x.x.tar.gz
            cd mysql-5.x.x
            ./configure \
            --prefix=/usr/local/mysql \
            --with-unix-sock-path=/tmp/mysql.sock \
            --with-charset=utf8
            make
            make install

            groupadd mysql
            useradd -g mysql mysql
            cp support-files/my-medium.cnf /etc/my.cnf
            cd /usr/local/mysql
            bin/mysql_install_db --user=mysql
            chown -R root .
            chown -R mysql var
            chgrp -R mysql .

            a nakoniec

            /etc/my.cnf

            [client]
            port = 3306
            socket = /tmp/mysql.sock
            [mysqld]
            port = 3306
            socket = /tmp/mysql.sock
            skip-locking
            key_buffer = 16K
            max_allowed_packet = 1M
            table_cache = 4
            sort_buffer_size = 64K
            net_buffer_length = 2K
            thread_stack = 64K
            skip-networking
            server-id = 1
            [mysqldump]
            quick
            max_allowed_packet = 16M
            [mysql]
            no-auto-rehash
            [isamchk]
            key_buffer = 8M
            sort_buffer_size = 8M
            [myisamchk]
            key_buffer = 8M
            sort_buffer_size = 8M
            [mysqlhotcopy]
            interactive-timeout
            Prejdite z modrej obrazovky k linuxu :))
            • Re: pomoc so startom mysql 25.05.2007 | 18:42
              xyxy   Návštevník
              bohuzial stale dava rovnaku chybu ...