mariadb
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
mariadb [2023/07/04 11:14] – [Contrôle] pascal | mariadb [2023/07/05 19:15] (Version actuelle) – [Suite] pascal | ||
---|---|---|---|
Ligne 8: | Ligne 8: | ||
==== Lancement du client ==== | ==== Lancement du client ==== | ||
<code bash> | <code bash> | ||
+ | root:~# mariadb | ||
+ | Welcome to the MariaDB monitor. | ||
+ | Your MariaDB connection id is 31 | ||
+ | Server version: 10.11.3-MariaDB-1 Debian 12 | ||
- | </ | + | Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. |
- | ==== ... ==== | + | |
- | <code bash> | + | |
- | ~# mysql -u root -pazerty mysql | + | |
- | Reading table information for completion of table and column names | + | |
- | You can turn off this feature to get a quicker startup with -A | + | |
- | Welcome to the MySQL monitor. | + | Type 'help;' |
- | Your MySQL connection id is 47 | + | |
- | Server version: 5.5.44-0+deb8u1 (Debian) | + | |
- | Copyright | + | MariaDB [(none)]> |
+ | </code> | ||
- | Oracle is a registered trademark of Oracle Corporation and/or its | + | ==== Liste des bases ==== |
- | affiliates. Other names may be trademarks of their respective | + | <code bash> |
- | owners. | + | MariaDB [(none)]> |
+ | +---------------------+ | ||
+ | | Database | ||
+ | +---------------------+ | ||
+ | | # | ||
+ | | information_schema | ||
+ | | mysql | | ||
+ | | performance_schema | ||
+ | | sys | | ||
+ | +---------------------+ | ||
+ | 5 rows in set (0,001 sec) | ||
- | Type ' | + | MariaDB [(none)]> |
+ | </ | ||
- | mysql> select | + | ==== Liste des utilisateurs ==== |
- | +-----------------+------------------+ | + | <code bash> |
- | | host | + | MariaDB [(none)]> |
- | +-----------------+------------------+ | + | MariaDB [mysql]> use mysql; |
- | | 127.0.0.1 | root | | + | Database changed |
- | | ::1 | root | + | MariaDB [mysql]> select |
- | | localhost | + | +-----------+-------------+----------+ |
- | | localhost | + | | Host |
- | +-----------------+------------------+ | + | +-----------+-------------+----------+ |
- | 4 rows in set (0.00 sec) | + | | localhost | mariadb.sys | | |
+ | | localhost | ||
+ | | localhost | mysql | invalid | ||
+ | +-----------+-------------+----------+ | ||
+ | 3 rows in set (0,002 sec) | ||
- | mysql> | + | MariaDB [mysql]> |
- | Bye | + | </ |
- | ~# | + | ===== Configuration ===== |
+ | <code bash file=/ | ||
+ | [mysqld] | ||
+ | # Instead of skip-networking the default is now to listen only on | ||
+ | # localhost which is more compatible and is not less secure. | ||
+ | bind-address | ||
</ | </ | ||
- | Noter l' | + | Object, autoriser la connexion depuis les autres machines du réseau local. |
- | " | + | ===== Suite ===== |
+ | * [[mariadb_user|gestion des utilisateurs]] | ||
+ | * [[mysqltuner_optimisation|Optimisation | ||
+ | * [[mariadb_sécurisation|Sécurisation |
mariadb.1688469256.txt.gz · Dernière modification : 2023/07/04 11:14 de pascal