avatar
o*e
1
How to output the selected table records into a file?
I try to use:
SELECT * FROM MY_TABLE INTO OUTFILE 'out.txt'
FIELDS TERMINATED BY ',';
But the error msg told me access denied. The default
path is the current directory for the output file?
What kind of permission is expected to be set for the
directory? How about if the file is already there, do
I need to del first?
never use MySQL b4.
Thanks for help.
avatar
c*e
2
When I was trying to link object files, I always had an error message.
The command line is:
gcc -o a.out program.c -L/usr/local/mysql/lib -lmysqlclient
The erro message is:
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress`:
my_compress.o(.text+0x9a): undefined reference to `uncompress`
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_compress_alloc`:
my_compress.o(.text+0x9a): undefined reference to `compress`.
Why did this happen? Is that b
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。