Move database

where can i change the database location inside piwik? there must be a config file, that i can edit. The reason i am asking, is that i want to move my database to a faster server, and keep all my data. Can any one point me to the right file? the config/config.php dosent seem to be the rigth one?

see Installation - Analytics Platform - Matomo

(DB settings stored in config.ini.php )