mariaDB toutes portes ouvertes
Bonjour
Je tente d'installer mariaDB sur un raspberry avec Raspbian Buster. Ce que j'ai fait :
installation de mariadb avec
Code:
sudo apt install mariadb-server
puis
Code:
sudo mysql_secure_installation
qui m'a permis de saisir un mot de passe pour root, virer la base de test, interdire les acces anonyme et a distance.
Là redémarrage du raspberry et je tente de me connecter à la base de donnée avec
Code:
sudo mysql -u root -p
et là c'est le drame, que je je mette le bon mot de passe ou n'importe quoi j'obtiens
Code:
1 2 3 4 5 6 7 8 9
| Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 55
Server version: 10.3.17-MariaDB-0+deb10u1 Raspbian 10
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> |
je suis sur d'avoir le bon mot de passe, si je relance le mysql_secure_installation il me redemande le mot de passe et là il prend ou refuse suivant ce que je mets.
et le coup de grâce, si je lance une requête après connexion avec le bon mot de passe ou pas la requête passe, je peux créer une table alors que les droits d'acces ne sont pas respectés !
Citation:
MariaDB [(none)]> CREATE DATABASE nom_base;
Query OK, 1 row affected (0.001 sec)
Pouvez vous allumer la lumière sur cette obscurité ? je ne comprends plus rien
Merci par avance