# Backup Error after upgrading to MariaDB 10.6.7

**URL:** <https://www.dolibarr.org/forum/t/backup-error-after-upgrading-to-mariadb-10-6-7/22434>\
**Category:** Maintaining my Dolibarr\
**Created:** [June 21, 2022, 9:47am UTC](https://www.dolibarr.org/forum/t/backup-error-after-upgrading-to-mariadb-10-6-7/22434 "2022-06-21T09:47:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gio](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/9dc877/32.png) [@gio](https://www.dolibarr.org/forum/u/gio)\
**Post date:** [June 21, 2022, 9:47am UTC](https://www.dolibarr.org/forum/t/backup-error-after-upgrading-to-mariadb-10-6-7/22434/1 "2022-06-21T09:47:41Z")

</div>

Hi,  
After upgrading my system to MaryaDB 10.6.7 it is impossible to make a backup via mysqldump.  
I tried changing my config for mariadb from bind-address = 127.0.0.1 to 0:0 and more, but the exit is always wrong, i.e.:  
Error : WARNING: Forcing protocol to TCP due to option specification. Please explicitly state intended protocol.  
Forcing the backup via php gives me no error, but this is a backup that is not guaranteed (as stated from dolibarr).  
Does someone have this same problem?  
Thank you all

---

<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:** [June 21, 2022, 9:51am UTC](https://www.dolibarr.org/forum/t/backup-error-after-upgrading-to-mariadb-10-6-7/22434/2 "2022-06-21T09:51:01Z")

</div>

Hello,

You need to add ` –protocol tcp` on the command line.

---

<div class="post-metadata">

**Author:** ![gio](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/9dc877/32.png) [@gio](https://www.dolibarr.org/forum/u/gio)\
**Post date:** [June 21, 2022, 10:23am UTC](https://www.dolibarr.org/forum/t/backup-error-after-upgrading-to-mariadb-10-6-7/22434/3 "2022-06-21T10:23:25Z")

</div>

> [@ksar](#):
>
> –protocol tcp

Hi, thank you. Is there any place inside Dolibarr where I can add this command? By the way I tried the full off line command but this gave me some strange error referring to the user, but may be this should be my error while inputing the line

---

<div class="post-metadata">

**Author:** ![gio](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/9dc877/32.png) [@gio](https://www.dolibarr.org/forum/u/gio)\
**Post date:** [June 21, 2022, 1:24pm UTC](https://www.dolibarr.org/forum/t/backup-error-after-upgrading-to-mariadb-10-6-7/22434/4 "2022-06-21T13:24:27Z")

</div>

After a while I tried changing something in my conf.php file, i.e. I added the line after the one for ‘localhost’:  
$dolibarr\_main\_db\_host=‘127.0.0.1’;  
and this seems to work.
