sql - MySQL select into outfile /tmp no output -


I can not find the following code to generate any output MySQL user "All" grant level, writeable / tmp , The query returns a result set.

  mysql> Test_table WHERE condition = Select 'test' from field - & gt; Output '/tmp/test.csv' - & gt; Inherent field ',' - & gt; OK, affected by 1 line (0.00 seconds) mysql & gt; [1] + mysql has been stopped [Root @ web 1 ~] # cat /tmp/test.csv cat: '' - & gt; '/tmp/test.csv' is not a file or directory ending with LINES  

Do I see a different output from MySQL in case of failure?

Can I confirm more than the result "1 row affected"?

The files generated by the Outfile Clause are created on the MySQL server host. Please make sure that you are considering the mysql server host, because it appears that you are on a client host that probably does not host mysql server.

Look at the About About Outfile section for documentation. / P>


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -