How to change the DB connection from MariaDB 5 to MariaDB 10

Hi here
I recently installed the new version of MariaDB and now I want owncloud to use this one instead of the old.
How can I manage that ?
The user and the databes are already converted to the new DB. Where I declare owncloud to use the new one too?

Have you entered the credentials of the new (updated) database to your config.php?

Hello dmitry
Thanks for your answer. The old entries where
'datadirectory' => '/volume1/web/owncloud/data',
'overwrite.cli.url' => 'http://xxx.xxx.xxx.xxx/owncloud',
'dbtype' => 'mysql',
'version' => '9.0.2.2',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
can you tell me where I found what to change ?

Can't you just update your existing maria db database to the newest version and use this?

If not, you would have to take a backup from your existing database, create a new owncloud database in the new database, import it in the new database and change the credentials, like db host db port db user and db password.