sudo DEBIAN_FRONTEND=noninteractive apt-get install -y hubzero-mysql
sudo service mysql start
If you leave off setting DEBIAN-FRONTED environment variable you will be prompted to enter a MySQL administrative password. This password will get reset at a later step.
Default configuration works well for starters. But for optimal performance you will need a database administrator capable of tuning your database to your hardware configuration and site usage.