Answers for "output query to file mysql"

SQL
1

mysql query result to file

mysql -user -pass -e "select cols from table where cols not null" > /tmp/output
Posted by: Guest on June-01-2020
0

mysql cli output to a file

mysql> tee /tmp/my.out;
Posted by: Guest on September-10-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language