Bonjour merci pour vos réponses,
bruno a écrit
Est-ce que tu as vu la réponse à cette question sur Stackoverflow :
Non effectivement car je pensais que mysql n'était pas installé du coup au vu de l'erreur je n'ai pas cherché a aller consulter l'error_log
Voilà dans un premier temps l'error_log de mysql
ink@DESKTOP-2EC349I:/mnt/c/Users/Administrateur/cmder$ sudo cat /var/log/mysql/error.log
2020-08-26T12:29:56.500354Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.21-0ubuntu0.20.04.4) initializing of server in progress as process 462
2020-08-26T12:29:56.508968Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2020-08-26T12:29:56.515403Z 1 [ERROR] [MY-012585] [InnoDB] Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
2020-08-26T12:29:56.515501Z 1 [Warning] [MY-012654] [InnoDB] Linux Native AIO disabled.
2020-08-26T12:29:57.621084Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2020-08-26T12:29:58.956839Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
2020-08-26T12:30:00.191978Z 6 [System] [MY-013172] [Server] Received SHUTDOWN from user boot. Shutting down mysqld (Version: 8.0.21-0ubuntu0.20.04.4).
2020-08-26T12:30:01.187140Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.21-0ubuntu0.20.04.4) starting as process 512
2020-08-26T12:30:01.235010Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2020-08-26T12:30:01.259438Z 1 [ERROR] [MY-012585] [InnoDB] Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
2020-08-26T12:30:01.259547Z 1 [Warning] [MY-012654] [InnoDB] Linux Native AIO disabled.
2020-08-26T12:30:01.538132Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2020-08-26T12:30:01.610332Z 0 [ERROR] [MY-011292] [Server] Plugin mysqlx reported: 'Preparation of I/O interfaces failed, X Protocol won't be accessible'
2020-08-26T12:30:01.610444Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create lock file /var/run/mysqld/mysqlx.sock.lock'
2020-08-26T12:30:01.699708Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2020-08-26T12:30:01.699840Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2020-08-26T12:30:01.702263Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/tmp' in the path is accessible to all OS users. Consider choosing a different directory.
2020-08-26T12:30:01.717576Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.21-0ubuntu0.20.04.4' socket: '/tmp/tmp.jMqPPixk74/mysqld.sock' port: 0 (Ubuntu).
2020-08-26T12:30:01.834906Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.21-0ubuntu0.20.04.4).
2020-08-26T12:30:01.917750Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.21-0ubuntu0.20.04.4) (Ubuntu).
Effectivement je retrouve le même message
2020-08-26T12:30:01.259438Z 1 [ERROR] [MY-012585] [InnoDB] Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
Le post sur stackoverflow n'est pas marqué comme résolu.
Dois je suivre ce qui est indiqué ?
kedjo a écrit
Tu peux donner le retour de ces commandes?
Voilà le retour des commandes dans l'ordre :
ink@DESKTOP-2EC349I:/mnt/c/Users/Administrateur/cmder$ sudo echo; dpkg -l | grep -Ei "linux-(g|h|i|lo|mo|si|t)" | grep -v ^rc | sort -k3 | awk '{print $1,$2,$3,$4}' | column -s" " -t ; echo ; uname -mr
ii binutils-x86-64-linux-gnu 2.34-6ubuntu1 amd64
4.4.0-19041-Microsoft x86_64
ink@DESKTOP-2EC349I:/mnt/c/Users/Administrateur/cmder$ sudo cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
ink@DESKTOP-2EC349I:/mnt/c/Users/Administrateur/cmder$ sudo mysql --version
mysql Ver 8.0.21-0ubuntu0.20.04.4 for Linux on x86_64 ((Ubuntu))
ink@DESKTOP-2EC349I:/mnt/c/Users/Administrateur/cmder$ sudo dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================-==================================-============-===============================================================================
rc javascript-common 11 all Base support for JavaScript library packages
iU mysql-server 8.0.21-0ubuntu0.20.04.4 all MySQL database server (metapackage depending on the latest version)
iF mysql-server-8.0 8.0.21-0ubuntu0.20.04.4 amd64 MySQL database server binaries and system database setup
rc node-duplexer3 0.1.4-5 all Like duplexer but using streams3
rc x11-xserver-utils 7.7+8 amd64 X server utilities