# Changing Mariadb 5 to Mariadb 10

**URL:** <https://www.dolibarr.org/forum/t/changing-mariadb-5-to-mariadb-10/21260>\
**Category:** Installing my Dolibarr\
**Tags:** v14, Upgrades, Database\
**Created:** [September 28, 2021, 11:36am UTC](https://www.dolibarr.org/forum/t/changing-mariadb-5-to-mariadb-10/21260 "2021-09-28T11:36:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudile](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/rudile/32/367_2.png) [@rudile](https://www.dolibarr.org/forum/u/rudile)\
**Post date:** [September 28, 2021, 11:36am UTC](https://www.dolibarr.org/forum/t/changing-mariadb-5-to-mariadb-10/21260/1 "2021-09-28T11:36:41Z")

</div>

I am running Dolibarr V14 on Synology 716+, with DSM 6. Now, I want to Upgrade from DSM 6 to 7. Then, however, Mariadb 5 is not supported anymore, so I need to upgrade Dolibar to Mariadb 10. Managed already to upload the database from 5 to 10. Question is however, how do I get Dolibarr to recognize Mariadb 10. What line(s) need to be changed and where?

Any help in this would be much appreciated.  
Rudi

---

<div class="post-metadata">

**Author:** ![priojk](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/priojk/32/6121_2.png) [@priojk](https://www.dolibarr.org/forum/u/priojk)\
**Post date:** [September 28, 2021, 12:04pm UTC](https://www.dolibarr.org/forum/t/changing-mariadb-5-to-mariadb-10/21260/2 "2021-09-28T12:04:22Z")

</div>

Hi,

if you did not only transfer the database, but also created the database user for Dolibarr (same name, same password) and the location of the database did not change, you should be good to go. Otherwise, you need to create this user and/or adjust the settings in your conf.php file (can be found in htdocs/conf/conf.php).

Standard disclaimer: Only work on these files after you created a full backup, in case something goes wrong.

Joachim

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [September 28, 2021, 12:59pm UTC](https://www.dolibarr.org/forum/t/changing-mariadb-5-to-mariadb-10/21260/3 "2021-09-28T12:59:51Z")

</div>

Hello,

There is tutorial on the wiki : [FAQ Mise à Jour de MariaDB 5 a 10 sur Synology NAS - Dolibarr ERP CRM Wiki](https://wiki.dolibarr.org/index.php?title=FAQ_Mise_%C3%A0_Jour_de_MariaDB_5_a_10_sur_Synology_NAS)

Unfortunately in French but with a online translation tool you can make it I think.

---

<div class="post-metadata">

**Author:** ![rudile](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/rudile/32/367_2.png) [@rudile](https://www.dolibarr.org/forum/u/rudile)\
**Post date:** [October 4, 2021, 9:48pm UTC](https://www.dolibarr.org/forum/t/changing-mariadb-5-to-mariadb-10/21260/4 "2021-10-04T21:48:29Z")

</div>

Hi and thanks for the tips. However after doing all that´s described in the wiki, Doli refuses to accept Mariadb10. I did a full restart of the system (stopped db5), but had to restart Mariadb5 again to get Doli going. Below a screen shot. What am I missing?  
Thanks for any help here.  
Rudi  
 ![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/6/6a5f979e9c299499a3160e642a373b482b30b605.png)
