Off topic:MySQL error to export a txt file
0
0
Entering edit mode
7.2 years ago
Lila M ★ 1.2k

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 • 1.2k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1767 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6