Skip to main content

mycsv

Export MySQL query results to local CSV file.

Usage:

$ mycsv [-u username] [-p password] [-h hostname] [-p port] [-s query.sql] [-O output.csv]

If you omit password option you will got a prompt asking for the password (password will not be echoed):

$ mycsv -O report.csv < report.sql
Password []:

You can send SQL script using stdin and dump CSV results to stdout:

$ mycsv -p Sekr3T < report.sql > report.csv

Metadata

Release files for mycsv 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mycsv 0.1.3
File Size Uploaded
mycsv-0.1.3.tar.gz 2.4 kB Details

Release files / mycsv-0.1.3.tar.gz

Download URL mycsv-0.1.3.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6ec6f2f4c1614f3c69e2970231b25d5b93abaa1cf77b51cb7e660b3da44c35d3
BLAKE2b-256 checksum
How to use checksums
dcf8619ff4c17175208f27ce5b52cfb22f005b47500266855cc18a209642fc1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page