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:21] – [Liste des bases] pascal | mariadb [2023/07/05 19:15] (Version actuelle) – [Suite] pascal | ||
---|---|---|---|
Ligne 40: | Ligne 40: | ||
<code bash> | <code bash> | ||
MariaDB [(none)]> | MariaDB [(none)]> | ||
- | +---------------------+ | + | MariaDB [mysql]> use mysql; |
- | | Database | + | Database changed |
- | +---------------------+ | + | MariaDB [mysql]> select Host, User, Password from user; |
- | | # | + | +-----------+-------------+----------+ |
- | | information_schema | + | | Host | User | Password |
- | | mysql | | + | +-----------+-------------+----------+ |
- | | performance_schema | + | | localhost |
- | | sys | | + | | localhost |
- | +---------------------+ | + | | localhost | mysql | invalid |
- | 5 rows in set (0,001 sec) | + | +-----------+-------------+----------+ |
+ | 3 rows in set (0,002 sec) | ||
- | MariaDB [(none)]> | + | MariaDB [mysql]> |
</ | </ | ||
- | ==== ... ==== | + | ===== Configuration ===== |
- | <code bash> | + | <code bash file=/ |
- | ~# mysql -u root -pazerty mysql | + | [mysqld] |
- | Reading table information for completion | + | # Instead |
- | You can turn off this feature to get a quicker startup with -A | + | # localhost which is more compatible |
- | + | bind-address | |
- | Welcome | + | |
- | Your MySQL connection id is 47 | + | |
- | Server version: 5.5.44-0+deb8u1 (Debian) | + | |
- | + | ||
- | Copyright (c) 2000, 2015, Oracle | + | |
- | + | ||
- | Oracle | + | |
- | affiliates. Other names may be trademarks of their respective | + | |
- | owners. | + | |
- | + | ||
- | Type ' | + | |
- | + | ||
- | mysql> select host,user from user; | + | |
- | +-----------------+------------------+ | + | |
- | | host | user | | + | |
- | +-----------------+------------------+ | + | |
- | | 127.0.0.1 | root | | + | |
- | | ::1 | root | | + | |
- | | localhost | + | |
- | | localhost | + | |
- | +-----------------+------------------+ | + | |
- | 4 rows in set (0.00 sec) | + | |
- | + | ||
- | mysql> quit | + | |
- | Bye | + | |
- | ~# | + | |
</ | </ | ||
- | 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.1688469719.txt.gz · Dernière modification : 2023/07/04 11:21 de pascal