MySQL установки на Ubuntu

Я пытаюсь установить MySQL на человечности 16.04. Я просмотрел различные сообщения на здесь и serverfault, чтобы попытаться решить вопрос, но он все еще сохраняется.

Я установил использование MySQL:

sudo apt-get install mysql-server

Затем после установки пароля root установка просто держится:

Renaming removed key_buffer and myisam-recover options (if present)

Я произвел чистку и перезагрузил, никакая удача.


Oct 11 11:56:40 ip-172-31-47-249 systemd[1]: Started ACPI event daemon.
Oct 11 11:56:41 ip-172-31-47-249 systemd[1]: Starting MySQL Community Server...
Oct 11 11:56:45 ip-172-31-47-249 systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 11 11:57:07 ip-172-31-47-249 dhclient[895]: DHCPREQUEST of 172.31.47.249 on eth0 to 172.31.32.1 port 67 (xid=0x132b1603)
Oct 11 11:57:07 ip-172-31-47-249 dhclient[895]: DHCPACK of 172.31.47.249 from 172.31.32.1
Oct 11 11:57:08 ip-172-31-47-249 dhclient[895]: bound to 172.31.47.249 -- renewal in 1677 seconds.
Oct 11 11:57:22 ip-172-31-47-249 systemd[1]: Failed to start MySQL Community Server.
Oct 11 11:57:22 ip-172-31-47-249 systemd[1]: mysql.service: Unit entered failed state.
Oct 11 11:57:22 ip-172-31-47-249 systemd[1]: mysql.service: Failed with result 'exit-code'.
Oct 11 11:57:22 ip-172-31-47-249 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
Oct 11 11:57:22 ip-172-31-47-249 systemd[1]: Stopped MySQL Community Server.
Oct 11 11:57:22 ip-172-31-47-249 systemd[1]: Starting MySQL Community Server..
1
задан 11 October 2016 в 15:04

1 ответ

взятый от Панель запуска :

[Workaround Option 1/3]

To reset your MySQL configuration back to defaults,
type "sudo update-alternatives --remove my.cnf /etc/mysql/my.cnf.migrated" after the upgrade.
Then use "sudo service mysql start" to start the MySQL daemon
and "sudo apt-get -f install" to recover your system packaging state.
0
ответ дан 8 December 2019 в 08:31

Другие вопросы по тегам:

Похожие вопросы: