I need to export on-demand a MySQL table on a server to a CSV file on the client computer. The MySQL reference manual 13.2.7 states;
"If you want to create the resulting file on some client host other than the server host you cannot use SELECT .... INTO OUTFILE. In that case, you should use instead a command such as mysql-e "SELECT ..."> file name to generate the file on the client host."
Have been unable to find anything on mysql-e, thanks for any info on how to use this.
SmokeyJoe
"If you want to create the resulting file on some client host other than the server host you cannot use SELECT .... INTO OUTFILE. In that case, you should use instead a command such as mysql-e "SELECT ..."> file name to generate the file on the client host."
Have been unable to find anything on mysql-e, thanks for any info on how to use this.
SmokeyJoe