This is a test version of Biostars. For the public version, visit https://www.biostars.org.
MySQL error to export a txt file

Hi biostars!

I've created a database in mysql with all the genome annotation. I want to export only the gen column. To do that I've tried

ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

select Symbol from annot_RECQL5HUunt into outfile 'symbol_RECQL5Unt.txt' lines terminated by '\n\r'

But I have the next error

ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement

I've tried to solve adding

secure_file_priv=/var/lib/mysql-files/

to my.cnf, but it does not work. Any idea?

Thanks!

mysql

Hello Lila M !

We believe that this post does not fit the main topic of this site.

not related to bioinformatics.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.