256 Kilobytes

Databases Articles

Type ArticlesContent written by the staff, as well as hand-picked user content Category DatabasesDiscuss database design and development, such as relational and NoSQL technologies like MySQL, MariaDB, and MongoDB.

Profile Photo - August R. Garcia

How to export a MySQL or MariaDB Query to a CSV

Articles in Databases | By August R. Garcia

Published 10 months agoFri, 08 Mar 2019 16:39:12 -0800

Profile Photo - August R. Garcia

TL;DR: Here is a one-line command to run...

MoreTL;DR: Run this command from your local machine: mysql -u root -p yourdatabase -e "select * from table_name;" > file.csv How to export a...
🗨
0
🐏
0
👁
478