Sou burro, fiz a coisa mais idiota que pude. Em um dos meus servidores, o SSD estava cheio e eu não sabia disso.
O site de tráfego intenso ficou muito lento e começou a exibir erros, porque até o banco de dados não pôde salvar novas linhas.
Antes que eu percebesse o que estava acontecendo, executei uma reinicialização difícil. E então o serviço mysqld não pôde ser iniciado.
Eu comecei a excluir alguns arquivos não importantes (descobri que 80% do espaço era lixo), então agora tenho 80% de espaço livre.
Infelizmente, toda vez que tento executar o "service mysqld restart" ou inicio, ele inicia e pára imediatamente.
Minha configuração: - Debian 7.5 + DirectAdmin (Apache, MySQL), - O banco de dados é enorme e inclui tabelas MyISAM e InnoDB.
Eu tentei fazer uma exportação, mas não posso executar mysqldump sem trabalhar com o serviço mysqld.
Eu copiei minhas tabelas de / usr / local / mysql / data e também tenho um backup, mas no formato SQL - então não posso importá-lo. Mas a melhor opção é executar as tabelas atuais, porque o backup é antigo.
Eu tentei até agora:
O log do MySQL não explica nada:
150813 15:48:13 mysqld_safe mysqld from pid file /usr/local/mysql/data/ns390143.pid ended
150813 15:48:21 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
2015-08-13 15:48:21 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-08-13 15:48:21 2954 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys'
2015-08-13 15:48:21 2954 [Note] Plugin 'FEDERATED' is disabled.
2015-08-13 15:48:21 2954 [Note] InnoDB: The InnoDB memory heap is disabled
2015-08-13 15:48:21 2954 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-08-13 15:48:21 2954 [Note] InnoDB: Compressed tables use zlib 1.2.3
2015-08-13 15:48:21 2954 [Note] InnoDB: Using Linux native AIO
2015-08-13 15:48:21 2954 [Note] InnoDB: Using CPU crc32 instructions
2015-08-13 15:48:21 2954 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-08-13 15:48:21 2954 [Note] InnoDB: Completed initialization of buffer pool
2015-08-13 15:48:21 2954 [Note] InnoDB: Highest supported file format is Barracuda.
2015-08-13 15:48:21 2954 [Note] InnoDB: 128 rollback segment(s) are active.
2015-08-13 15:48:21 2954 [Note] InnoDB: Waiting for purge to start
2015-08-13 15:48:21 2954 [Note] InnoDB: 5.6.12 started; log sequence number 28646291749
2015-08-13 15:48:21 2954 [ERROR] Aborting
2015-08-13 15:48:21 2954 [Note] Binlog end
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'partition'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'ARCHIVE'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_METRICS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_CMP'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'INNODB_TRX'
2015-08-13 15:48:21 2954 [Note] Shutting down plugin 'InnoDB'
2015-08-13 15:48:21 2954 [Note] InnoDB: FTS optimize thread exiting.
2015-08-13 15:48:21 2954 [Note] InnoDB: Starting shutdown...
2015-08-13 15:48:23 2954 [Note] InnoDB: Shutdown completed; log sequence number 28646291759
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'BLACKHOLE'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'CSV'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'MRG_MYISAM'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'MyISAM'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'MEMORY'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'sha256_password'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'mysql_old_password'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'mysql_native_password'
2015-08-13 15:48:23 2954 [Note] Shutting down plugin 'binlog'
2015-08-13 15:48:23 2954 [Note]
Minhas perguntas são:
Como corrigir isso? E é possível?
Se não, como posso importar o backup do arquivo .sql?