Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/10/2018, à 21:44

jellfedora

Probléme mysql/phpMyAdmin

Bonsoir,
suivant une formation en développement web j'ai installé Ubuntu 18.04 et je suis en train de réinstaller les différents logiciels dont j'ai besoin,
mais je bloque avec mysql:

root@jellfedora-ubuntu:/home/jellfedora# sudo apt-get install mysql-server
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
mysql-server est déjà la version la plus récente (5.7.23-0ubuntu0.18.04.1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
root@jellfedora-ubuntu:/home/jellfedora# mysql

La commande « mysql » n'a pas été trouvée, mais peut être installée avec :

apt install mysql-client-core-5.7   
apt install mariadb-client-core-10.1

je précise qu'avant cela j'ai déjà suivi différentes "bidouilles" sur les forums et que donc j'ai sûrement fait un peu n'importe quoi^^
Je souhaiterais avoir phpmyadmin/mysql de fonctionnel pour travailler sur mes wordpress(et autres) en local, si quelqu'un à quelques minutes à m'accorder c'est avec grand plaisir je commence à m'arracher les cheveux sur ce probléme là sad

Hors ligne

#2 Le 14/10/2018, à 07:51

gl38

Re : Probléme mysql/phpMyAdmin

Ce qu'il faut faire est écrit : tu as besoin d'un client, tu as le choix entre mariad-bclient et mysql-client.
Vu que tu as commencé avec mysql-server, c'est sans doute plus sage de continuer avec mysql-client.
Tu essaies de lancer mysql en étant root, ce n'est pas raisonnable : il ne faut pas confondre le root du système et celui de mysql.
Enfin j'espère que tu as mis un mot de passe au root de mysql, sinon ça va être galère de faire marcher phpmyadmin.
Cordialement,
Guy

Hors ligne

#3 Le 14/10/2018, à 08:57

bruno

Re : Probléme mysql/phpMyAdmin

Bonjour,

Il faut effectivement installler le client :

sudo apt install mysql-client

Sur 18.04 il faut bien lancer mysql en root. Et par défaut  il n'y a pas de mot de passe root pour mysql. Lire : https://doc.ubuntu-fr.org/mysql

https://doc.ubuntu-fr.org/lamp
https://doc.ubuntu-fr.org/wordpress

Dernière modification par bruno (Le 14/10/2018, à 08:59)

Hors ligne

#4 Le 14/10/2018, à 14:17

jellfedora

Re : Probléme mysql/phpMyAdmin

Merci pour vos réponses, mais il n'a pas l'air de prendre en compte l'installation de mysql-client:

jellfedora@jellfedora-ubuntu:~$ sudo apt install mysql-client
[sudo] Mot de passe de jellfedora : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les NOUVEAUX paquets suivants seront installés :
  mysql-client
0 mis à jour, 1 nouvellement installés, 0 à enlever et 12 non mis à jour.
Il est nécessaire de prendre 9824 o dans les archives.
Après cette opération, 110 ko d'espace disque supplémentaires seront utilisés.
Réception de:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-client all 5.7.23-0ubuntu0.18.04.1 [9824 B]
9824 o réceptionnés en 2s (5770 o/s)      
Sélection du paquet mysql-client précédemment désélectionné.
(Lecture de la base de données... 203616 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../mysql-client_5.7.23-0ubuntu0.18.04.1_all.deb ...
Dépaquetage de mysql-client (5.7.23-0ubuntu0.18.04.1) ...
Paramétrage de mysql-client (5.7.23-0ubuntu0.18.04.1) ...
jellfedora@jellfedora-ubuntu:~$ mysql

La commande « mysql » n'a pas été trouvée, mais peut être installée avec :

sudo apt install mysql-client-core-5.7   
sudo apt install mariadb-client-core-10.1

jellfedora@jellfedora-ubuntu:~$ sudo systemctl start mysql
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
jellfedora@jellfedora-ubuntu:~$ systemctl status mysql.service
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: en
   Active: failed (Result: exit-code) since Sun 2018-10-14 15:12:01 CEST; 18s ag
  Process: 5680 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exit

oct. 14 15:12:01 jellfedora-ubuntu systemd[1]: mysql.service: Service hold-off t
oct. 14 15:12:01 jellfedora-ubuntu systemd[1]: mysql.service: Scheduled restart 
oct. 14 15:12:01 jellfedora-ubuntu systemd[1]: Stopped MySQL Community Server.
oct. 14 15:12:01 jellfedora-ubuntu systemd[1]: mysql.service: Start request repe
oct. 14 15:12:01 jellfedora-ubuntu systemd[1]: mysql.service: Failed with result
oct. 14 15:12:01 jellfedora-ubuntu systemd[1]: Failed to start MySQL Community S

jellfedora@jellfedora-ubuntu:~$ sudo systemctl restart mysql
Job for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
jellfedora@jellfedora-ubuntu:~$ sudo systemctl reload mysql
Failed to reload mysql.service: Job type reload is not applicable for unit mysql.service.
See system logs and 'systemctl status mysql.service' for details.

Hors ligne

#5 Le 14/10/2018, à 15:24

bruno

Re : Probléme mysql/phpMyAdmin

Il y a quelque chose qui ne va pas sur ton système.
Normalement l'installation du paquet mysql-server devrait entraîner l'installation de mysql-client-5.7 et de mysql-client-core-5.7.
D'autre part le serveur mysql ne démarre pas.

Il faut nous indiquer de la manière la plus précise possible « les différentes bidouilles » que tu as fait.

Hors ligne

#6 Le 14/10/2018, à 16:56

jellfedora

Re : Probléme mysql/phpMyAdmin

En fait quand j'ai vu qu'il y avait des soucis avec mysql (les mêmes soucis qu'actuellement) j'ai voulu désinstallé pour repartir sur du "propre".
J'ai donc fait: apt-get remove --purge mysql-server
ainsi que apt-get remove --purge mysql-server mysql-common phpmyadmin
Puis j'ai réinstallé avec: sudo apt-get install mysql-server et j'ai voulu autoriser la connexion en tant que root, j'ai donc suivi:
https://stackoverflow.com/questions/416 … tlocalhost
Et j'en suis rendu là =/

Je précise que en dehors de tout ceci je n'ai quasiment rien fait sur l'OS, il est installé depuis quelques jours juste.

Dernière modification par jellfedora (Le 14/10/2018, à 16:57)

Hors ligne

#7 Le 14/10/2018, à 17:29

bruno

Re : Probléme mysql/phpMyAdmin

Pour désinstaller proprement et complètement :

sudo apt autoremove --purge mysql-server\* mariadb-server\*
sudo mv /var/lib/mysql /var/lib/mysql_bak
sudo mv /etc/mysql /etc/mysql_bak
sudo mkdir /etc/mysql /etc/mysql/conf.d
sudo apt clean

(pris dans la doc ici : https://doc.ubuntu-fr.org/lamp#conflit_ … t_mariadb)

Ensuite tu fais les mises à jour (car en #4 tu en as 12) :

sudo apt update
sudo apt full-upgrade

Puis tu réinstalles :

sudo apt install mysql-server

Hors ligne

#8 Le 15/10/2018, à 02:01

jellfedora

Re : Probléme mysql/phpMyAdmin

Toujours le même soucis apparemment,mais merci pour votre aide et votre temps

jellfedora@jellfedora-ubuntu:~$ sudo apt autoremove --purge mysql-server\* mariadb-server\*
[sudo] Mot de passe de jellfedora : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Note : sélection de mysql-server-5.0 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-5.1 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-5.5 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-5.6 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-5.7 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-core-5.1 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-core-5.5 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-core-5.6 pour l'expression rationnelle « mysql-server* »
Note : sélection de mysql-server-core-5.7 pour l'expression rationnelle « mysql-server* »
Le paquet « mysql-server-core-5.6 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mysql-server-5.5 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mysql-server-5.6 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mysql-server-core-5.5 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mysql-server-5.0 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mysql-server-5.1 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mysql-server-core-5.1 » n'est pas installé, et ne peut donc être supprimé
Note : sélection de mariadb-server-core-5.5 pour l'expression rationnelle « mariadb-server* »
Note : sélection de mariadb-server-5.5 pour l'expression rationnelle « mariadb-server* »
Note : sélection de mariadb-server-core-10.0 pour l'expression rationnelle « mariadb-server* »
Note : sélection de mariadb-server-core-10.1 pour l'expression rationnelle « mariadb-server* »
Note : sélection de mariadb-server-10.0 pour l'expression rationnelle « mariadb-server* »
Note : sélection de mariadb-server-10.1 pour l'expression rationnelle « mariadb-server* »
Note : sélection de mariadb-server pour l'expression rationnelle « mariadb-server* »
Le paquet « mariadb-server-5.5 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mariadb-server-10.0 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mariadb-server-core-10.0 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mariadb-server-core-5.5 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mariadb-server » n'est pas installé, et ne peut donc être supprimé
Le paquet « mariadb-server-10.1 » n'est pas installé, et ne peut donc être supprimé
Le paquet « mariadb-server-core-10.1 » n'est pas installé, et ne peut donc être supprimé
Les paquets suivants seront ENLEVÉS :
  libevent-core-2.1-6* mysql-server* mysql-server-5.7* mysql-server-core-5.7*
0 mis à jour, 0 nouvellement installés, 4 à enlever et 12 non mis à jour.
Après cette opération, 95,0 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 203619 fichiers et répertoires déjà installés.)
Suppression de mysql-server (5.7.23-0ubuntu0.18.04.1) ...
Suppression de mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ...
Suppression de libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
Suppression de mysql-server-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.27-3ubuntu1) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2) ...
(Lecture de la base de données... 203438 fichiers et répertoires déjà installés.)
Purge des fichiers de configuration de mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-20) ...
ureadahead will be reprofiled on next reboot
Traitement des actions différées (« triggers ») pour systemd (237-3ubuntu10.3) ...
jellfedora@jellfedora-ubuntu:~$ sudo mv /var/lib/mysql /var/lib/mysql_bak
mv: impossible d'évaluer '/var/lib/mysql': Aucun fichier ou dossier de ce type
jellfedora@jellfedora-ubuntu:~$ sudo mv /etc/mysql /etc/mysql_bak
jellfedora@jellfedora-ubuntu:~$ sudo mkdir /etc/mysql /etc/mysql/conf.d
jellfedora@jellfedora-ubuntu:~$ sudo apt clean
jellfedora@jellfedora-ubuntu:~$ sudo apt update
Réception de:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Réception de:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Réception de:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]     
Réception de:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                   
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                            
Atteint:4 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic InRelease 
Atteint:5 http://repo.steampowered.com/steam precise InRelease                 
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease                   
Atteint:7 http://archive.ubuntu.com/ubuntu bionic InRelease                    
Atteint:8 http://dl.google.com/linux/chrome/deb stable Release                 
Réception de:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Atteint:10 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic InRelease
Ign:11 http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu bionic InRelease 
Err:13 http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu bionic Release   
  404  Not Found [IP : 91.189.95.83 80]
Réception de:14 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Réception de:15 http://archive.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Lecture des listes de paquets... Fait                             
E: Le dépôt http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu bionic Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
jellfedora@jellfedora-ubuntu:~$ sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants seront mis à jour :
  libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-common libdrm-dev libdrm-intel1
  libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1
  libdrm-radeon1:i386 libdrm2 libdrm2:i386
12 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 669 ko dans les archives.
Après cette opération, 1024 o d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
Réception de:1 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 libdrm-dev amd64 2.4.95+git1810141830.f94075~oibaf~b [255 kB]
Réception de:2 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main i386 libdrm-intel1 i386 2.4.95+git1810141830.f94075~oibaf~b [73,2 kB]
Réception de:3 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 libdrm-intel1 amd64 2.4.95+git1810141830.f94075~oibaf~b [69,5 kB]
Réception de:4 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main i386 libdrm-radeon1 i386 2.4.95+git1810141830.f94075~oibaf~b [32,7 kB]
Réception de:5 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 libdrm-radeon1 amd64 2.4.95+git1810141830.f94075~oibaf~b [31,3 kB]
Réception de:6 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main i386 libdrm-nouveau2 i386 2.4.95+git1810141830.f94075~oibaf~b [27,8 kB]
Réception de:7 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 libdrm-nouveau2 amd64 2.4.95+git1810141830.f94075~oibaf~b [26,1 kB]
Réception de:8 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 libdrm-common all 2.4.95+git1810141830.f94075~oibaf~b [13,7 kB]
Réception de:9 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 libdrm2 amd64 2.4.95+git1810141830.f94075~oibaf~b [39,8 kB]
Réception de:10 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main i386 libdrm2 i386 2.4.95+git1810141830.f94075~oibaf~b [42,4 kB]
Réception de:11 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main i386 libdrm-amdgpu1 i386 2.4.95+git1810141830.f94075~oibaf~b [29,8 kB]
Réception de:12 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 libdrm-amdgpu1 amd64 2.4.95+git1810141830.f94075~oibaf~b [27,0 kB]
669 ko réceptionnés en 4s (150 ko/s)        
(Lecture de la base de données... 203427 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../00-libdrm-common_2.4.95+git1810141830.f94075~oibaf~b_all.deb ...
Dépaquetage de libdrm-common (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../01-libdrm-dev_2.4.95+git1810141830.f94075~oibaf~b_amd64.deb ...
Dépaquetage de libdrm-dev:amd64 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../02-libdrm2_2.4.95+git1810141830.f94075~oibaf~b_amd64.deb ...
Déconfiguration de libdrm2:i386 (2.4.95+git1810110630.21f117~oibaf~b) ...
Dépaquetage de libdrm2:amd64 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../03-libdrm2_2.4.95+git1810141830.f94075~oibaf~b_i386.deb ...
Dépaquetage de libdrm2:i386 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../04-libdrm-intel1_2.4.95+git1810141830.f94075~oibaf~b_amd64.deb ...
Déconfiguration de libdrm-intel1:i386 (2.4.95+git1810110630.21f117~oibaf~b) ...
Dépaquetage de libdrm-intel1:amd64 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../05-libdrm-intel1_2.4.95+git1810141830.f94075~oibaf~b_i386.deb ...
Dépaquetage de libdrm-intel1:i386 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../06-libdrm-radeon1_2.4.95+git1810141830.f94075~oibaf~b_amd64.deb ...
Déconfiguration de libdrm-radeon1:i386 (2.4.95+git1810110630.21f117~oibaf~b) ...
Dépaquetage de libdrm-radeon1:amd64 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../07-libdrm-radeon1_2.4.95+git1810141830.f94075~oibaf~b_i386.deb ...
Dépaquetage de libdrm-radeon1:i386 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../08-libdrm-nouveau2_2.4.95+git1810141830.f94075~oibaf~b_amd64.deb ...
Déconfiguration de libdrm-nouveau2:i386 (2.4.95+git1810110630.21f117~oibaf~b) ...
Dépaquetage de libdrm-nouveau2:amd64 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../09-libdrm-nouveau2_2.4.95+git1810141830.f94075~oibaf~b_i386.deb ...
Dépaquetage de libdrm-nouveau2:i386 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../10-libdrm-amdgpu1_2.4.95+git1810141830.f94075~oibaf~b_i386.deb ...
Déconfiguration de libdrm-amdgpu1:amd64 (2.4.95+git1810110630.21f117~oibaf~b) ...
Dépaquetage de libdrm-amdgpu1:i386 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Préparation du dépaquetage de .../11-libdrm-amdgpu1_2.4.95+git1810141830.f94075~oibaf~b_amd64.deb ...
Dépaquetage de libdrm-amdgpu1:amd64 (2.4.95+git1810141830.f94075~oibaf~b) sur (2.4.95+git1810110630.21f117~oibaf~b) ...
Paramétrage de libdrm-common (2.4.95+git1810141830.f94075~oibaf~b) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.27-3ubuntu1) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2) ...
Paramétrage de libdrm2:amd64 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm2:i386 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-intel1:amd64 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-intel1:i386 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-radeon1:amd64 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-radeon1:i386 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-nouveau2:amd64 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-nouveau2:i386 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-amdgpu1:amd64 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-amdgpu1:i386 (2.4.95+git1810141830.f94075~oibaf~b) ...
Paramétrage de libdrm-dev:amd64 (2.4.95+git1810141830.f94075~oibaf~b) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.27-3ubuntu1) ...
jellfedora@jellfedora-ubuntu:~$ sudo apt install mysql-server
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés : 
  libevent-core-2.1-6 mysql-server-5.7 mysql-server-core-5.7
Paquets suggérés :
  mailx tinyca
Les NOUVEAUX paquets suivants seront installés :
  libevent-core-2.1-6 mysql-server mysql-server-5.7 mysql-server-core-5.7
0 mis à jour, 4 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 11,1 Mo dans les archives.
Après cette opération, 95,0 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-core-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [7777 kB]
Réception de:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85,9 kB]
Réception de:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server-5.7 amd64 5.7.23-0ubuntu0.18.04.1 [3194 kB]
Réception de:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 mysql-server all 5.7.23-0ubuntu0.18.04.1 [9940 B]
11,1 Mo réceptionnés en 29s (379 ko/s)                                         
Préconfiguration des paquets...
Sélection du paquet mysql-server-core-5.7 précédemment désélectionné.
(Lecture de la base de données... 203427 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../mysql-server-core-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...
Dépaquetage de mysql-server-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...
Sélection du paquet libevent-core-2.1-6:amd64 précédemment désélectionné.
Préparation du dépaquetage de .../libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...
Dépaquetage de libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
Sélection du paquet mysql-server-5.7 précédemment désélectionné.
Préparation du dépaquetage de .../mysql-server-5.7_5.7.23-0ubuntu0.18.04.1_amd64.deb ...
Dépaquetage de mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ...
Sélection du paquet mysql-server précédemment désélectionné.
Préparation du dépaquetage de .../mysql-server_5.7.23-0ubuntu0.18.04.1_all.deb ...
Dépaquetage de mysql-server (5.7.23-0ubuntu0.18.04.1) ...
Paramétrage de libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-20) ...
Paramétrage de mysql-server-core-5.7 (5.7.23-0ubuntu0.18.04.1) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.27-3ubuntu1) ...
Traitement des actions différées (« triggers ») pour systemd (237-3ubuntu10.3) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2) ...
Paramétrage de mysql-server-5.7 (5.7.23-0ubuntu0.18.04.1) ...
update-alternatives: avertissement: l'alternative /etc/mysql/my.cnf.fallback (qui fait partie du groupe de liens my.cnf) n'a pas été trouvée ; suppression de la liste des alternatives
update-alternatives: avertissement: /etc/alternatives/my.cnf pointe dans le vide ; sera mis à jour avec le choix le plus adapté
update-alternatives: utilisation de « /etc/mysql/mysql.cnf » pour fournir « /etc/mysql/my.cnf » (my.cnf) en mode automatique
Renaming removed key_buffer and myisam-recover options (if present)
Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service.
Paramétrage de mysql-server (5.7.23-0ubuntu0.18.04.1) ...
Traitement des actions différées (« triggers ») pour ureadahead (0.100.0-20) ...
Traitement des actions différées (« triggers ») pour systemd (237-3ubuntu10.3) ...
jellfedora@jellfedora-ubuntu:~$ mysql

La commande « mysql » n'a pas été trouvée, mais peut être installée avec :

sudo apt install mysql-client-core-5.7   
sudo apt install mariadb-client-core-10.1

Hors ligne

#9 Le 15/10/2018, à 07:18

gl38

Re : Probléme mysql/phpMyAdmin

Je suis d'accord avec bruno, tout ça n'est pas normal.
On voit des ppa dans ton dernier message, peux-tu montrer le fichier /etc/apt/sources.list et donner le résultat de

uname -a

?
Cordialement,
Guy

Hors ligne

#10 Le 15/10/2018, à 07:24

bruno

Re : Probléme mysql/phpMyAdmin

Bon, tu as des dépôts obsolètes et potentiellement d'autres problèmes. Donne-nous le retour de :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Hors ligne

#11 Le 15/10/2018, à 12:40

jellfedora

Re : Probléme mysql/phpMyAdmin

Alors uname -a me renvoie:

Linux jellfedora-ubuntu 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

sources.list:

# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic restricted multiverse main universe #Added by software-properties
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic-updates restricted multiverse main universe #Added by software-properties
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu bionic multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu bionic-backports main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu bionic-backports main universe multiverse restricted #Added by software-properties
# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic-security restricted multiverse main universe #Added by software-properties
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

Concernant ta demande Bruno:

jellfedora@jellfedora-ubuntu:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list.d/thefanclub-ubuntu-grive-tools-bionic.list

     1	deb http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu bionic main
     2	# deb-src http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu bionic main

/etc/apt/sources.list.d/amdgpu-pro-local.list

     1	deb [trusted=yes] file:/var/opt/amdgpu-pro-local/ ./

/etc/apt/sources.list.d/steam.list

     1	deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
     2	deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam

/etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list

     1	deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic main
     2	# deb-src http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu bionic main

/etc/apt/sources.list.d/google-chrome.list

     1	### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2	# You may comment out this entry, but any other modifications may be lost.
     3	deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-bionic.list

     1	deb http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic main
     2	# deb-src http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic main

/etc/apt/sources.list.d/plexmediaserver.list

     1	# When enabling this repo please remember to add the PlexPublic.Key into the apt setup.
     2	# wget -q https://downloads.plex.tv/plex-keys/PlexSign.key -O - | sudo apt-key add -
     3	# deb https://downloads.plex.tv/repo/deb/ public main

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://archive.ubuntu.com/ubuntu bionic main restricted
     6	deb-src http://archive.ubuntu.com/ubuntu bionic restricted multiverse main universe #Added by software-properties
     7	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
     8	
     9	## Major bug fix updates produced after the final release of the
    10	## distribution.
    11	deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
    12	deb-src http://archive.ubuntu.com/ubuntu bionic-updates restricted multiverse main universe #Added by software-properties
    13	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    14	
    15	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    16	## team. Also, please note that software in universe WILL NOT receive any
    17	## review or updates from the Ubuntu security team.
    18	deb http://archive.ubuntu.com/ubuntu bionic universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
    20	deb http://archive.ubuntu.com/ubuntu bionic-updates universe
    21	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe
    22	
    23	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    24	## team, and may not be under a free licence. Please satisfy yourself as to 
    25	## your rights to use the software. Also, please note that software in 
    26	## multiverse WILL NOT receive any review or updates from the Ubuntu
    27	## security team.
    28	deb http://archive.ubuntu.com/ubuntu bionic multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
    30	deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
    31	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    32	
    33	## N.B. software from this repository may not have been tested as
    34	## extensively as that contained in the main release, although it includes
    35	## newer versions of some applications which may provide useful features.
    36	## Also, please note that software in backports WILL NOT receive any review
    37	## or updates from the Ubuntu security team.
    38	deb http://archive.ubuntu.com/ubuntu bionic-backports main universe multiverse restricted
    39	deb-src http://archive.ubuntu.com/ubuntu bionic-backports main universe multiverse restricted #Added by software-properties
    40	# deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    41	
    42	## Uncomment the following two lines to add software from Canonical's
    43	## 'partner' repository.
    44	## This software is not part of Ubuntu, but is offered by Canonical and the
    45	## respective vendors as a service to Ubuntu users.
    46	# deb http://archive.canonical.com/ubuntu bionic partner
    47	# deb-src http://archive.canonical.com/ubuntu bionic partner
    48	
    49	deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
    50	deb-src http://archive.ubuntu.com/ubuntu bionic-security restricted multiverse main universe #Added by software-properties
    51	# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
    52	deb http://archive.ubuntu.com/ubuntu bionic-security universe
    53	# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
    54	deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
    55	# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

Hors ligne

#12 Le 15/10/2018, à 12:58

bruno

Re : Probléme mysql/phpMyAdmin

Celui-ci est pour precise 12.04 alors que tu es sous 18.04 (bionic) !

/etc/apt/sources.list.d/steam.list

À supprimer. D'autant plus que steam est dans les dépôts officiels.

Pour le reste cela semble bon.
Maintenant pour comprendre pourquoi mysql-client n'est pas installé retour de :

apt-cache policy mysql-client\* mariadb-client\*

Hors ligne

#13 Le 15/10/2018, à 13:09

jellfedora

Re : Probléme mysql/phpMyAdmin

ok donc je supprime steam.list.save aussi?
Et oui j'ai tout d'abord essayé d'installer via "logiciels Ubuntu" mais cela ne fonctionner pas..

Pour la commande:

jellfedora@jellfedora-ubuntu:~$ apt-cache policy mysql-client\* mariadb-client\*mysql-client-5.5:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
mysql-client-5.6:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
mysql-client-5.7:
  Installé : 5.7.23-0ubuntu0.18.04.1
  Candidat : 5.7.23-0ubuntu0.18.04.1
 Table de version :
 *** 5.7.23-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     5.7.21-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
mysql-client:
  Installé : 5.7.23-0ubuntu0.18.04.1
  Candidat : 5.7.23-0ubuntu0.18.04.1
 Table de version :
 *** 5.7.23-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/main i386 Packages
        100 /var/lib/dpkg/status
     5.7.21-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages
mysql-client-core-5.5:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
mysql-client-core-5.6:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
mysql-client-core-5.7:
  Installé : 5.7.23-0ubuntu0.18.04.1
  Candidat : 5.7.23-0ubuntu0.18.04.1
 Table de version :
 *** 5.7.23-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     5.7.21-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
mariadb-client-5.5:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
mariadb-client-10.0:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
mariadb-client-10.1:
  Installé : (aucun)
  Candidat : 1:10.1.34-0ubuntu0.18.04.1
 Table de version :
     1:10.1.34-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
     1:10.1.29-6 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
mariadb-client-core-10.0:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
mariadb-client-core-10.1:
  Installé : (aucun)
  Candidat : 1:10.1.34-0ubuntu0.18.04.1
 Table de version :
     1:10.1.34-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
     1:10.1.29-6 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
mariadb-client:
  Installé : (aucun)
  Candidat : 1:10.1.34-0ubuntu0.18.04.1
 Table de version :
     1:10.1.34-0ubuntu0.18.04.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic-security/universe i386 Packages
     1:10.1.29-6 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages
mariadb-client-core-5.5:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :

Hors ligne

#14 Le 15/10/2018, à 13:13

bruno

Re : Probléme mysql/phpMyAdmin

Bon les paquets mysql-client sont bien installés. Pourquoi donc la commande mysql n'est pas trouvée ?

Les retours de :

whereis mysql
ls -l /usr/bin/mysql

Hors ligne

#15 Le 15/10/2018, à 13:14

jellfedora

Re : Probléme mysql/phpMyAdmin

whereis mysql me renvoie bien :

jellfedora@jellfedora-ubuntu:~$ whereis mysql
mysql: /usr/lib/mysql /etc/mysql /usr/share/mysql

Par contre la suivante:

jellfedora@jellfedora-ubuntu:~$ ls -l /usr/bin/mysql
ls: impossible d'accéder à '/usr/bin/mysql': Aucun fichier ou dossier de ce type

dans /usr/bin en mysql je n'ai que:

-rwxr-xr-x  1 root root     4143464 juil. 27 16:28  mysqladmin
lrwxrwxrwx  1 root root          10 juil. 27 16:28  mysqlanalyze -> mysqlcheck
-rwxr-xr-x  1 root root     4407928 juil. 27 16:28  mysqlbinlog
-rwxr-xr-x  1 root root     4169032 juil. 27 16:28  mysqlcheck
-rwxr-xr-x  1 root root     3983432 juil. 27 16:28  mysql_config_editor
-rwxr-xr-x  1 root root       26551 juil. 27 16:28  mysqld_multi
-rwxr-xr-x  1 root root       28448 juil. 27 16:28  mysqld_safe
-rwxr-xr-x  1 root root     4218920 juil. 27 16:28  mysqldump
-rwxr-xr-x  1 root root        7464 juil. 27 16:28  mysqldumpslow
-rwxr-xr-x  1 root root    22938120 juil. 27 16:28  mysql_embedded
-rwxr-xr-x  1 root root     4135656 juil. 27 16:28  mysqlimport
-rwxr-xr-x  1 root root     5477288 juil. 27 16:28  mysql_install_db
lrwxrwxrwx  1 root root          10 juil. 27 16:28  mysqloptimize -> mysqlcheck
-rwxr-xr-x  1 root root     3637352 juil. 27 16:28  mysql_plugin
-rwxr-xr-x  1 root root     4625960 juil. 27 16:28  mysqlpump
lrwxrwxrwx  1 root root          10 juil. 27 16:28  mysqlrepair -> mysqlcheck
-rwxr-xr-x  1 root root       39016 janv. 12  2018  mysqlreport
-rwxr-xr-x  1 root root     4128392 juil. 27 16:28  mysql_secure_installation
-rwxr-xr-x  1 root root     4134248 juil. 27 16:28  mysqlshow
-rwxr-xr-x  1 root root     4153256 juil. 27 16:28  mysqlslap
-rwxr-xr-x  1 root root     3669576 juil. 27 16:28  mysql_ssl_rsa_setup
-rwxr-xr-x  1 root root     3569976 juil. 27 16:28  mysql_tzinfo_to_sql
-rwxr-xr-x  1 root root     4786224 juil. 27 16:28  mysql_upgrade

Dernière modification par jellfedora (Le 15/10/2018, à 13:22)

Hors ligne

#16 Le 15/10/2018, à 13:28

bruno

Re : Probléme mysql/phpMyAdmin

Ah ! C'est très fort !
D'après ceci (retour du #13) :

mysql-client-core-5.7:
  Installé : 5.7.23-0ubuntu0.18.04.1


le paquet mysql-client-core-5.7 est bien installé et pourtant tu n'as pas de fichier /usr/bin/mysql !

Je n'arrive pas à concevoir comment on peut en arriver à cette situation…

On va donc être plus radical. Tu vas désinstaller tout ce qui est mysql :

sudo apt autoremove --purge mysql\*

et ensuite réinstaller avec :

sudo apt install mysql-server

Hors ligne

#17 Le 15/10/2018, à 13:37

jellfedora

Re : Probléme mysql/phpMyAdmin

Moi non plus, mais je ne m'amuserai plus à suivre des tutos/forums sans en comprendre les tenants et les aboutissants...
Ça a l'air ok:

jellfedora@jellfedora-ubuntu:~$ ls -l /usr/bin/mysql
-rwxr-xr-x 1 root root 4248104 juil. 27 16:28 /usr/bin/mysql
jellfedora@jellfedora-ubuntu:~$ sudo mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.23-0ubuntu0.18.04.1 (Ubuntu)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> 

Dernière modification par jellfedora (Le 15/10/2018, à 13:47)

Hors ligne

#18 Le 15/10/2018, à 13:42

bruno

Re : Probléme mysql/phpMyAdmin

jellfedora a écrit :

je ne m'amuserai plus à suivre des tutos/forums sans en comprendre les tenants et les aboutissants...

Sage décision wink
Ceci dit les liens que j'ai donné vers la doc de ubuntu-fr.org sont dignes de confiance. Cette doc a été réécrite récemment. Elle est fiable et à jour.

Hors ligne

#19 Le 15/10/2018, à 13:47

jellfedora

Re : Probléme mysql/phpMyAdmin

Elle va donc devenir ma bible roll

Par contre de ce que je lit sur https://doc.ubuntu-fr.org/mysql il n'y a pas de mot de passe en 18.04 mais phpmyadmin m'en demande un.
"La configuration interdit une connexion sans mot de passe (voir AllowNoPassword)"
Me conseille tu de modifier la configuration de phpmyadmin pour accepter l'authentification sans mdp,
Ou de creer un utilisateur avec un mot de passe,
Ou d'attribuer un mdp à root?

Je t'avoue que j'ai peur de tout re péter là =/

EDIT: Question résolue avec https://doc.ubuntu-fr.org/phpmyadmin#acces_root

Un gros merci Bruno pour avoir résolu mes erreurs de débutant!

Dernière modification par jellfedora (Le 15/10/2018, à 13:53)

Hors ligne

#20 Le 16/10/2018, à 23:41

jellfedora

Re : Probléme mysql/phpMyAdmin

Bon et bien je relance/ré ouvre le sujet car toujours des soucis mais côté phpMyAdmin ce coup ci^^
Il me manque des tables à phpMyadmin, par exemple en cliquant sur la table information_shema j'ai:
#1146 - La table 'phpmyadmin.pma__tracking' n'existe pas

j'ai donc tenté:

sudo dpkg-reconfigure phpmyadmin

Mais il me demande juste le serveur Web à reconfigurer ce à quoi je répond apache2 et cela me renvoie

apache2_invoke phpmyadmin: already enabled

mais je souhaiterais refaire l'installation complète de phpMyAdmin afin de réinstaller sa table.
J'ai aussi éssayé de purger avec:

sudo apt-get purge phpmyadmin

puis de réinstaller avec:

sudo apt-get install phpmyadmin

Mais cela me raméne au même probléme^^

Je précise que tout ceci est dans le but d'installer un wordpress custom.

Hors ligne

#21 Le 18/10/2018, à 12:08

jellfedora

Re : Probléme mysql/phpMyAdmin

C'est bon j'ai pu recréer les tables manquantes (phpmyadmin me l'a proposé et me les a recrées^^).
J'ouvre un nouveau sujet pour mon problème d'installation de Wordpress maintenant.

Dernière modification par jellfedora (Le 18/10/2018, à 12:44)

Hors ligne

#22 Le 18/10/2018, à 12:52

mazarini

Re : Probléme mysql/phpMyAdmin

https://stackoverflow.com/questions/240 … esnt-exist ?

Mais est ce que la base phpmyadmin existe ?


S'il existait une école de la politique, les locaux devraient être édifiés rue de la Santé. Les élèves pourraient s'habituer. (Pierre Dac)

Hors ligne