Ah, cette fois-ci en ayant rebooté, ça a marché.
Mais maintenant, je n'ai plus de mdp pour le root mysql, si j'ai bien compris.
Code : Tout sélectionner
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.41-0ubuntu0.24.04.1 (Ubuntu)
Copyright (c) 2000, 2025, Oracle and/or its affiliates.
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>
Je vois que ton tuto utilise un user dans mysql.
Comment créer un user classique ? Comment s'appelle-t-il dans mysql ?
Avec ou sans mot de passe pour le user classique ?
Et pour root, comment rentrer un mdp dans mysql ?
Pour l'instant, il n'en a plus.
Je vois que dans phpMyAdmin, il faut absolument mettre un mdp à root dans mysql.
J'aurai encore d'autres questions après.