Public bug reported:

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/mysql/error.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.

** Affects: mysql-5.7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1584234

Title:
  mysql-server fails to install if it cannot start due to not enough
  memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1584234/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to