首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > mysql-export-csv

mysql-export-csv

  • 资源大小:4.44 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: mysql perl CSV

资 源 简 介

Dump a mysql database to CSV files, one file per table. Optionally, print header lines with column names and/or data types from the mysql db. Written in perl, requires the following perl modules: Getopt::Long DBI and DBD::mysql Text::CSV mysqldump can sort of do this, by specifying something like: mysqldump -t -T/some/directory --fields-enclosed-by=" --fields-terminated by=, dbname This solution doesn"t work very well, however. In particular, it does not really form proper CSV; it does not properly escape the quotes or commas. mysqldump also requires the user to have FILE privilege on the server, as well as login access to the server; this program doesn"t.

文 件 列 表

mysql-export-csv
.svn
wiki
trunk
branches
tags
VIP VIP
0.165873s