mysql-server fails to install if it cannot start due to not enough memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Triaged
|
Medium
|
Lars Tangvald |
Bug Description
The default installation of mysql-server is completed successfully if it manages to start at the same time. If for some reason mysql-server cannot start, then the installation fails without giving a comprehensive error message. The user has no clue as to why the installation failed. The only file with information is /var/log/
Users run Ubuntu on affordable servers with little memory (Amazon EC2 600MB RAM, or DigitalOcean 512MB RAM). In addition, users may use containers like LXD which means that mysql-server may not get as much memory as required. Therefore, the installation may or may not fail. In addition, mysql-server may crash latter if not enough memory is available.
The default requirement for memory for mysql-server is 128MB (InnoDB).
There should be a way to inform the user that mysql-server does not install if there is not enough memory.
Changed in mysql-5.7 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in mysql-5.7 (Ubuntu): | |
assignee: | nobody → Lars Tangvald (lars-tangvald) |
Changed in mysql-5.7 (Ubuntu): | |
milestone: | none → ubuntu-16.09 |
Attempt for installation of mysql-server, which fails due to not enough memory.
The messages do not give a clue that the problem is memory-related.
The commands (systemctl, journalctl) that are mentioned, do not provide a hint.