I am want to export database table to a file.
I am using the following code, but it gives the following error.
String filename="D:/backup.txt";
I already create
st.executeQuery("select * from tamil into outfile'"+filename+"' fields terminated by ','");
But the error is:
java.sql.SQLException: Can't create/write to file 'D:\backup.txt' (Errcode: 13)
help me to clear the error
Thanks