dabdala
(usa Outra)
Enviado em 15/05/2014 - 17:38h
Ja pesquisei vários tópicos aqui do forum, mas não consegui ainda resolver o problema da instalação. Baixei os binários mysql-5.6.17-linux-glibc2.5-x86_64 do site.
segui os passos:
>groupadd mysql
>useradd -g mysql mysql
>cd /usr/local
>tar zxvf mysql*
>ln -s mysql.. mysql
>cd mysql
>chown -R mysql .
>chgrp -R mysql .
>scripts/mysql_install_db --user=mysql
Aqui da erro com a seguinte saida:
Installing MySQL system tables...2014-05-15 16:32:40 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2014-05-15 16:32:40 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-05-15 16:32:40 14346 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
2014-05-15 16:32:40 14346 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-05-15 16:32:40 14346 [Note] InnoDB: The InnoDB memory heap is disabled
2014-05-15 16:32:40 14346 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-05-15 16:32:40 14346 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-05-15 16:32:40 14346 [Note] InnoDB: Using Linux native AIO
2014-05-15 16:32:40 14346 [Note] InnoDB: Not using CPU crc32 instructions
2014-05-15 16:32:40 14346 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-05-15 16:32:40 14346 [Note] InnoDB: Completed initialization of buffer pool
2014-05-15 16:32:40 14346 [Note] InnoDB: Highest supported file format is Barracuda.
2014-05-15 16:32:40 14346 [Note] InnoDB: 128 rollback segment(s) are active.
2014-05-15 16:32:40 14346 [Note] InnoDB: Waiting for purge to start
2014-05-15 16:32:40 14346 [Note] InnoDB: 5.6.17 started; log sequence number 1600617
2014-05-15 16:32:40 14346 [ERROR] Aborting
2014-05-15 16:32:40 14346 [Note] Binlog end
2014-05-15 16:32:40 14346 [Note] InnoDB: FTS optimize thread exiting.
2014-05-15 16:32:40 14346 [Note] InnoDB: Starting shutdown...
2014-05-15 16:32:42 14346 [Note] InnoDB: Shutdown completed; log sequence number 1600627
2014-05-15 16:32:42 14346 [Note]
continuei os passos seguintes:
>chown -R root .
>chown -R mysql data
Para startar o mysql:
>bin/mysqld_safe --user=mysql &
Aqui da a seguinte saida:
[1] 14375
root@debian:/usr/local/mysql# 140515 16:36:20 mysqld_safe Logging to '/usr/local/mysql/data/mysql/debian.err'.
140515 16:36:20 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data/mysql
140515 16:36:23 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
E não inicia.
Se alguem souber fico no aguardo. Obrigado!