The TANGO Debian/Ubuntu package “tango-db” which installs the TANGO Controls database needs the mysql database server but does not have a dependency on mysql-server package. This will mean the package cannot be configured correctly and the TANGO database will not run.
If you have not installed mysql-server on your system then please do so before you install tango-db :
sudo apt-get install mysql-server
Then install the tango-db package:
sudo apt-get install tango-db
If you have already tried to install tango-db and the configuration failed because mysql was not running then simply run the install command above again. It will configure the TANGO database.