title: Job for mariadb.service failed because the control process exited with error code
body: <p>i deleted and reinstall mariadb and i get this error:</p>
  
  <p><strong><em>"Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details."</em></strong></p>
  
  <p>when i use systemctl" status mariadb.service" i get this </p>
  
  <pre><code>● mariadb.service - MariaDB 10.4.13 database server
       Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
      Drop-In: /etc/systemd/system/mariadb.service.d
               └─migrated-from-my.cnf-settings.conf
       Active: failed (Result: exit-code) since Sat 2020-05-30 09:37:19 +00; 15s ago
         Docs: man:mysqld(8)
               https://mariadb.com/kb/en/library/systemd/
      Process: 9859 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
      Process: 9860 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
      Process: 9862 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] &amp;&amp; VAR= ||   VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ]   &amp;&amp; systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
      Process: 10002 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=0/SUCCESS)
      Process: 10034 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
      Process: 10036 ExecStartPost=/etc/mysql/debian-start (code=exited, status=203/EXEC)
     Main PID: 10002 (code=exited, status=0/SUCCESS)
       Status: "MariaDB server is down"
  
  mai 30 09:37:17 Tv mysqld[10002]: 2020-05-30  9:37:17 0 [Note] InnoDB: FTS optimize thread exiting.
  mai 30 09:37:17 Tv systemd[1]: mariadb.service: Control process exited, code=exited, status=203/EXEC
  mai 30 09:37:17 Tv mysqld[10002]: 2020-05-30  9:37:17 0 [Note] InnoDB: Starting shutdown...
  mai 30 09:37:17 Tv mysqld[10002]: 2020-05-30  9:37:17 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
  mai 30 09:37:17 Tv mysqld[10002]: 2020-05-30  9:37:17 0 [Note] InnoDB: Buffer pool(s) dump completed at 200530  9:37:17
  mai 30 09:37:19 Tv mysqld[10002]: 2020-05-30  9:37:19 0 [Note] InnoDB: Shutdown completed; log sequence number 61044; transaction id 22
  mai 30 09:37:19 Tv mysqld[10002]: 2020-05-30  9:37:19 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
  mai 30 09:37:19 Tv mysqld[10002]: 2020-05-30  9:37:19 0 [Note] /usr/sbin/mysqld: Shutdown complete
  mai 30 09:37:19 Tv systemd[1]: mariadb.service: Failed with result 'exit-code'.
  mai 30 09:37:19 Tv systemd[1]: Failed to start MariaDB 10.4.13 database server.
  </code></pre>
  
  <p>P.S</p>
  
  <p>to delete the package i use this command 
  fisrt:</p>
  
  <pre><code>$ sudo apt-get remove --purge mysql-server mysql-client mysql-common -y
  $ sudo apt-get autoremove -y
  $ sudo apt-get autoclean
  </code></pre>
  
  <p>and i search all fils by </p>
  
  <pre><code>sudo dpkg -l | grep -i mysql
  </code></pre>
  
  <p>to delete it completly</p>
  
  <p>and i reintall it </p>
  
  <pre><code>sudo apt-get install libmysqlclient-dev mysql-client
  sudo apt-get install mysql-server
  
  
  sudo apt-get remove mysql-server mysql-client mysql-common
  sudo apt-get purge mysql-server mysql-client mysql-common
  sudo apt-get autoremove
  </code></pre>
  
  <p>i use this site web to help at this 
  [<a href="https://stackoverflow.com/questions/10861374/how-to-remove-mysql-completely-with-config-and-library-files][1]">How to remove MySQL completely with config and library files?</a></p>