# Problème installation MySql 8

**URL:** <https://www.debian-fr.org/t/probleme-installation-mysql-8/80326>\
**Category:** Support Debian\
**Tags:** mysql\
**Created:** [Octobre 3, 2019, 2:35 UTC](https://www.debian-fr.org/t/probleme-installation-mysql-8/80326 "2019-10-03T02:35:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miss\_Azure](https://www.debian-fr.org/user_avatar/www.debian-fr.org/miss_azure/32/8487_2.png) [@Miss\_Azure](https://www.debian-fr.org/u/Miss_Azure)\
**Post date:** [Octobre 3, 2019, 2:35 UTC](https://www.debian-fr.org/t/probleme-installation-mysql-8/80326/1 "2019-10-03T02:35:35Z")

</div>

Hellow , J’ ai un petit problème d installation de deux packet mysql-community-server et mysql-server

Voila le message d erreur

```nohighlight
root@AzureWorkStation:/home/azure/Downloads# apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  festival festlex-cmu festlex-poslex festvox-kallpc16k guile-2.0-libs libaec0 libctemplate3 libdap23 libdapclient6v5 libdapserver7v5
  libepsilon1 libestools2.4 libfreexl1 libgc1c2 libgeotiff2 libgraphicsmagick-q16-3 libgsasl7 libhdf4-0-alt libhdf5-100 libjson-c3 libkmlbase1
  libkmlconvenience1 libkmldom1 libkmlengine1 libkmlregionator1 libkmlxsd1 libkyotocabinet16v5 libminizip1 libnetcdf11 libntlm0 libodbc1
  libogdi3.2 libosmgpsmap-1.0-1 libpcrecpp0v5 libproj12 libqhull7 libshp2 libspatialite7 libsz2 libtinyxml2.6.2v5 liburiparser1 libvsqlitepp3v5
  libxerces-c3.1 libzip4 mailutils-common odbcinst odbcinst1debian2 proj-bin proj-data python-paramiko python-pexpect python-ptyprocess
  python-pyodbc
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core
The following NEW packages will be installed:
  mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core mysql-server
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Need to get 84.6 kB/20.3 MB of archives.
After this operation, 178 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://repo.mysql.com/apt/debian stretch/mysql-8.0 amd64 mysql-common amd64 8.0.17-1debian9 [84.6 kB]
Fetched 84.6 kB in 0s (306 kB/s)        
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 235950 files and directories currently installed.)
Preparing to unpack .../0-mysql-common_8.0.17-1debian9_amd64.deb ...
Unpacking mysql-common (8.0.17-1debian9) ...
Selecting previously unselected package mysql-community-client-core.
Preparing to unpack .../1-mysql-community-client-core_8.0.17-1debian9_amd64.deb ...
Unpacking mysql-community-client-core (8.0.17-1debian9) ...
Selecting previously unselected package mysql-community-client.
Preparing to unpack .../2-mysql-community-client_8.0.17-1debian9_amd64.deb ...
Unpacking mysql-community-client (8.0.17-1debian9) ...
Selecting previously unselected package mysql-client.
Preparing to unpack .../3-mysql-client_8.0.17-1debian9_amd64.deb ...
Unpacking mysql-client (8.0.17-1debian9) ...
Selecting previously unselected package mysql-community-server-core.
Preparing to unpack .../4-mysql-community-server-core_8.0.17-1debian9_amd64.deb ...
Unpacking mysql-community-server-core (8.0.17-1debian9) ...
Selecting previously unselected package mysql-community-server.
Preparing to unpack .../5-mysql-community-server_8.0.17-1debian9_amd64.deb ...
Unpacking mysql-community-server (8.0.17-1debian9) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../6-mysql-server_8.0.17-1debian9_amd64.deb ...
Unpacking mysql-server (8.0.17-1debian9) ...
Setting up mysql-common (8.0.17-1debian9) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up mysql-community-client-core (8.0.17-1debian9) ...
Setting up mysql-community-server-core (8.0.17-1debian9) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up mysql-community-client (8.0.17-1debian9) ...
Setting up mysql-client (8.0.17-1debian9) ...
Setting up mysql-community-server (8.0.17-1debian9) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-10-03 04:18:58 CEST; 15ms ago
     Docs: man:mysqld(8)
           http://dev.mysql.com/doc/refman/en/using-systemd.html
  Process: 15935 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE)
  Process: 15899 ExecStartPre=/usr/share/mysql-8.0/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
 Main PID: 15935 (code=exited, status=1/FAILURE)
   Status: "Data Dictionary upgrade from MySQL 5.7 in progress"
    Error: 2 (No such file or directory)

Oct 03 04:18:57 AzureWorkStation systemd[1]: Starting MySQL Community Server...
Oct 03 04:18:58 AzureWorkStation systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE
Oct 03 04:18:58 AzureWorkStation systemd[1]: Failed to start MySQL Community Server.
Oct 03 04:18:58 AzureWorkStation systemd[1]: mysql.service: Unit entered failed state.
Oct 03 04:18:58 AzureWorkStation systemd[1]: mysql.service: Failed with result 'exit-code'.
dpkg: error processing package mysql-community-server (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-community-server (= 8.0.17-1debian9); however:
  Package mysql-community-server is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mysql-community-server
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@AzureWorkStation:/home/azure/Downloads# 

```

Que faire ???

Merci d’ avance

---

<div class="post-metadata">

**Author:** ![Miss\_Azure](https://www.debian-fr.org/user_avatar/www.debian-fr.org/miss_azure/32/8487_2.png) [@Miss\_Azure](https://www.debian-fr.org/u/Miss_Azure)\
**Post date:** [Octobre 3, 2019, 3:18 UTC](https://www.debian-fr.org/t/probleme-installation-mysql-8/80326/2 "2019-10-03T03:18:52Z")

</div>

La version 5.7 \* s’est installée sans problème , je vais rester sur cette version vu que je l’utilise pour le développement .

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Octobre 3, 2019, 9:41 UTC](https://www.debian-fr.org/t/probleme-installation-mysql-8/80326/3 "2019-10-03T09:41:06Z")

</div>

> [@Miss\_Azure](#):
>
> La version 5.7 c’est installer sans problème

Juste une remarque:  
le français ne s’écrit pas à l’oreille, il y a des règles pour que ceux qui lisent puissent comprendre ce que tu écris.  
Par exemple, dans le cas cité, on écrit «&nbsp;_la version 5.7 s’est installée sans problème_&nbsp;», et là on ne met plus une plombe à comprendre ce que tu as voulu dire.

---

<div class="post-metadata">

**Author:** ![anon16237994](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@anon16237994](https://www.debian-fr.org/u/anon16237994)\
**Post date:** [Octobre 4, 2019, 5:54 UTC](https://www.debian-fr.org/t/probleme-installation-mysql-8/80326/4 "2019-10-04T17:54:50Z")

</div>

Ceci dit, tout le monde n’as pas une orthographe parfaite, et ne faisant pas parti de ceux qui l’ont, j’ai farpaitement compris son message et je m’interroge donc :  
Peut être que ce forum est réservé a une élite sortie d’un cursus littéraire ?

---

<div class="post-metadata">

**Author:** ![mattotop](https://www.debian-fr.org/user_avatar/www.debian-fr.org/mattotop/32/3942_2.png) [@mattotop](https://www.debian-fr.org/u/mattotop)\
**Post date:** [Octobre 4, 2019, 8:20 UTC](https://www.debian-fr.org/t/probleme-installation-mysql-8/80326/5 "2019-10-04T20:20:20Z")

</div>

Alors déjà, je ne suis pas le forum.  
Et en plus, je ne suis pas le dernier à faire des fautes, donc j’aurais beau jeu de les reprocher comme ça à d’autres.  
Mais il y a des fautes qui piquent les yeux, et c’est bon de les relever de temps en temps, même quand ça vient de soi.  
Bon, là, ça piquait, quoi.
