多くの人々は、このエラーが発生したMySQLの「ルート」ユーザーのパスワードを設定することができませんが、ない提供ソリューションは、私の場合のために働くん:私のUbuntu 14.04サーバーでMySQLのインストールエラー:
は、MySQLサーバ5.5作品罰金何らかの理由で私たちの2人が5.6にアップグレードしようとしましたが、何らかの操作をして失敗し、5.6クライアントとmysql-commnしかインストールされなかったので、実際の詳細な操作は分かりませんでした。バックこのような5.5にダウングレードする:
killall -9 mysql
killall -9 mysqld
apt-get purge mysql-*
remove /etc/myql
apt-get install mysql-sever-5.5
はエラーを得た:
┌───────────────────────Configuring mysql-server-5.5─────────────────────────┐
│ Unable to set password for the MySQL "root" user │
├────────────────────────────────────────────────────────────────────────────┤
このような
とインストールログ:
Setting up mysql-server-core-5.5 (5.5.54-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.5 (5.5.54-0ubuntu0.14.04.1) ...
170218 2:15:57 [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.
170218 2:15:57 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
170218 2:15:57 [Note] /usr/sbin/mysqld (mysqld 5.5.54-0ubuntu0.14.04.1) starting as process 9038 ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...
Errors were encountered while processing:
mysql-server-5.5
E: Sub-process /usr/bin/dpkg returned an error code (1)
このようなエラーログ:?だから、
170218 2:15:57 [ERROR] /usr/sbin/mysqld: Incorrect information in file: './mysql/tables_priv.frm'
ERROR: 1033 Incorrect information in file: './mysql/tables_priv.frm'
170218 2:15:57 [ERROR] Aborting
170218 2:15:57 [Note] /usr/sbin/mysqld: Shutdown complete
170218 2:15:57 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and
will be removed in a future release. Please use the full name instead.
170218 2:15:57 [Note] Plugin 'FEDERATED' is disabled.
170218 2:15:57 InnoDB: The InnoDB memory heap is disabled
170218 2:15:57 InnoDB: Mutexes and rw_locks use GCC atomic builtins
170218 2:15:57 InnoDB: Compressed tables use zlib 1.2.8
170218 2:15:57 InnoDB: Using Linux native AIO
170218 2:15:57 InnoDB: Initializing buffer pool, size = 128.0M
170218 2:15:57 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
170218 2:15:57 [ERROR] Plugin 'InnoDB' init function returned error.
170218 2:15:57 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
170218 2:15:57 [ERROR] Unknown/unsupported storage engine: InnoDB
170218 2:15:57 [ERROR] Aborting
170218 2:15:57 [Note] /usr/sbin/mysqld: Shutdown complete
、どのようにこの問題を解決するために、任意の提案が高く評価されて?
おかげで、......注意を...........これらの操作は、データファイルを削除します –