Code : Tout sélectionner
SHOW SCHEMAS;Code : Tout sélectionner
USE nom-de-la-base-de-ton-choix;
SHOW TABLES;Code : Tout sélectionner
mysql -u root [-pTonMotDePasse]Code : Tout sélectionner
C:\>mysql -u root -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12 to server version: 5.0.21-community-nt-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>Code : Tout sélectionner
mysql> SHOW SCHEMAS;
+--------------------+
| Database |
+--------------------+
| information_schema |
...
| mysql |
...
| phpmyadmin |
....
+--------------------+
38 rows in set (0.70 sec)Code : Tout sélectionner
mysql> USE mysql;
Database changed
mysql> SHOW TABLES;
+---------------------------+
| Tables_in_mysql |
+---------------------------+
| columns_priv |
| db |
| func |
| help_category |
| help_keyword |
| help_relation |
| help_topic |
| host |
| proc |
| procs_priv |
| tables_priv |
| time_zone |
| time_zone_leap_second |
| time_zone_name |
| time_zone_transition |
| time_zone_transition_type |
| user |
| user_info |
+---------------------------+
18 rows in set (0.00 sec)
mysql>Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 2 invités