SelectEtoile : Base de connaissance SGBD

Posts Tagged 'file'

tee / notee sur mysql

Les commandes tee et notee permettent de rediriger la sortie vers un fichier
 
mysql> use mysql
Database changed
mysql> tee c:\trash\qwe.txt
Logging to file 'c:\trash\qwe.txt'
mysql> show tables;
+-----------------+
| Tables_in_mysql |
+-----------------+
| columns_priv    |
| db              |
| host            |
| tables_priv     |
| user            |
+-----------------+
5 rows in set (0.02 sec)
 
mysql> notee
Outfile disabled.
mysql>

 

Articles tagged