質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
MySQL

MySQL(マイエスキューエル)は、TCX DataKonsultAB社などが開発するRDBMS(リレーショナルデータベースの管理システム)です。世界で最も人気の高いシステムで、オープンソースで開発されています。MySQLデータベースサーバは、高速性と信頼性があり、Linux、UNIX、Windowsなどの複数のプラットフォームで動作することができます。

Q&A

解決済

1回答

2870閲覧

MySQLをインストール出来ない

scrollman

総合スコア83

MySQL

MySQL(マイエスキューエル)は、TCX DataKonsultAB社などが開発するRDBMS(リレーショナルデータベースの管理システム)です。世界で最も人気の高いシステムで、オープンソースで開発されています。MySQLデータベースサーバは、高速性と信頼性があり、Linux、UNIX、Windowsなどの複数のプラットフォームで動作することができます。

0グッド

0クリップ

投稿2017/07/07 11:38

編集2017/10/21 13:06

MySQLをインストールできないのですが、何故でしょうか。
OSはLinux bean 32bit
インストールしようとしたのはmysql-server-core-5.7 です。

installArchives() failed: N: '/etc/apt/apt.conf.d/' '50unattended-upgrades.ucf-dist' ... N: '/etc/apt/apt.conf.d/' '50unattended-upgrades.ucf-dist' ... Selecting previously unselected package mysql-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 272089 files and directories currently installed.) Preparing to unpack .../mysql-common_5.7.18-0ubuntu0.16.04.1_all.deb ... Unpacking mysql-common (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-client-core-5.7. Preparing to unpack .../mysql-client-core-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-client-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-client-5.7. Preparing to unpack .../mysql-client-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-client-5.7 (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-server-core-5.7. Preparing to unpack .../mysql-server-core-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-server-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Processing triggers for man-db (2.7.5-1) ... Setting up mysql-common (5.7.18-0ubuntu0.16.04.1) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Selecting previously unselected package mysql-server-5.7. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 272245 files and directories currently installed.) Preparing to unpack .../mysql-server-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-server-5.7 (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-server. Preparing to unpack .../mysql-server_5.7.18-0ubuntu0.16.04.1_all.deb ... Unpacking mysql-server (5.7.18-0ubuntu0.16.04.1) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Processing triggers for systemd (229-4ubuntu17) ... Processing triggers for man-db (2.7.5-1) ... Setting up mysql-client-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Setting up mysql-client-5.7 (5.7.18-0ubuntu0.16.04.1) ... Setting up mysql-server-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Setting up mysql-server-5.7 (5.7.18-0ubuntu0.16.04.1) ... update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Renaming removed key_buffer and myisam-recover options (if present) initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: insserv: warning: script 'lxdm' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lxdm' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lxdm' Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since 2017-07-07 19:59:44 JST; 18ms ago Process: 5005 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 5004 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Process: 4984 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 5004 (code=exited, status=1/FAILURE) 7 07 19:59:44 DOG2 systemd[1]: Failed to start MySQL Community Server. 7 07 19:59:44 DOG2 systemd[1]: mysql.service: Unit entered failed state. 7 07 19:59:44 DOG2 systemd[1]: mysql.service: Failed with result 'exit-...'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package mysql-server-5.7 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.7; however: Package mysql-server-5.7 is not configured yet. dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured Processing triggers for systemd (229-4ubuntu17) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: mysql-server-5.7 mysql-server Setting up mysql-server-5.7 (5.7.18-0ubuntu0.16.04.1) ... Renaming removed key_buffer and myisam-recover options (if present) initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: insserv: warning: script 'lxdm' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lxdm' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lxdm' Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since 2017-07-07 20:00:24 JST; 18ms ago Process: 5352 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 5351 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Process: 5342 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 5351 (code=exited, status=1/FAILURE) 7 07 20:00:24 DOG2 systemd[1]: Failed to start MySQL Community Server. 7 07 20:00:24 DOG2 systemd[1]: mysql.service: Unit entered failed state. 7 07 20:00:24 DOG2 systemd[1]: mysql.service: Failed with result 'exit-...'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package mysql-server-5.7 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.7; however: Package mysql-server-5.7 is not configured yet. dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured

こんなログが出てインストールに失敗します。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

m.ts10806

2017/07/27 00:19 編集

SUCCESSとなっている部分とfailedなっている部分がありますが、主にfailed(要はエラーですね)となっている部分についてどのような意味かとか調べましたか?あとエラーメッセージ部分も<code>化をお願いします。(```~~```で囲って最後に改行を入れる)
guest

回答1

0

自己解決

失敗するよりも前にあったMysqlデータを全て消し、インストールしたらいけました。

投稿2018/02/04 04:52

scrollman

総合スコア83

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問