# Stopper et redémarrer la base de donnée mariadb

**URL:** https://forum.yunohost.org/t/stopper-et-redemarrer-la-base-de-donnee-mariadb/9270
**Category:** Support
**Tags:** french
**Created:** [October 15, 2019, 8:11pm UTC](https://forum.yunohost.org/t/stopper-et-redemarrer-la-base-de-donnee-mariadb/9270 "2019-10-15T20:11:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![michelw1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/michelw1/32/732_2.png) [@michelw1](https://forum.yunohost.org/u/michelw1)
#### Post date: [October 15, 2019, 8:11pm UTC](https://forum.yunohost.org/t/stopper-et-redemarrer-la-base-de-donnee-mariadb/9270/1 "2019-10-15T20:11:04Z")

</div>

Bonsoir,  
Je souhaite redémarrer la base donnée mariadb de yunohost pour la prise en compte d’une modification du fichier

> my.cnf

en ligne de commande ssh. Malheureusement je ne trouve plus la commande qui permet de le faire. J’ai essayé:

> restart mysqld

> restart mysql

> restart mariadb

Mais cela ne fonctionne pas. Faut-il être dans un répertoire particulier pour lancer la commande? En vous remerciant pour votre aide.

---

<div class="post-metadata">

### Author: ![anonyme18](https://forum.yunohost.org/user_avatar/forum.yunohost.org/anonyme18/32/2460_2.png) [@anonyme18](https://forum.yunohost.org/u/anonyme18)
#### Post date: [October 15, 2019, 8:22pm UTC](https://forum.yunohost.org/t/stopper-et-redemarrer-la-base-de-donnee-mariadb/9270/2 "2019-10-15T20:22:00Z")

</div>

Bonjour,  
Je ne suis pas sûr, mais si tu fais :  
systemctl status mysql  
et que ça renvoie l’état de MySQL, tu dois pouvoir faire :  
systemctl restart mysql

---

<div class="post-metadata">

### Author: ![michelw1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/michelw1/32/732_2.png) [@michelw1](https://forum.yunohost.org/u/michelw1)
#### Post date: [October 18, 2019, 3:15pm UTC](https://forum.yunohost.org/t/stopper-et-redemarrer-la-base-de-donnee-mariadb/9270/3 "2019-10-18T15:15:43Z")

</div>

Merci beaucoup, cela répond parfaitement à la question. En complément:  
[https://www.2daygeek.com/start-stop-restart-enable-reload-mysql-mariadb-server-service-in-linux/](https://www.2daygeek.com/start-stop-restart-enable-reload-mysql-mariadb-server-service-in-linux/)

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [November 2, 2019, 3:15pm UTC](https://forum.yunohost.org/t/stopper-et-redemarrer-la-base-de-donnee-mariadb/9270/4 "2019-11-02T15:15:45Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
