Want to export data from MySQL query to JSON file?
Using DB To File, a JSON exporter for MySQL on Windows, MacOS, and Linux, you can export data from MySQL (MariaDB, Percona) query to JSON file easily and fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
Download DBToFile
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Export data from MySQL (MariaDB, Percona) query to JSON file
Login to MySQL -> Enter MySQL query -> Set JSON file options -> Export MySQL query to JSON
Choose MySQL and logon.
Click “Export From Query” at task dialog.
Select JSON file type.
1. Enter MySQL query.
2. Set JSON file options.
3. Summary.
4. Export MySQL (MariaDB, Percona) query results to JSON file.
After exporting, you can view output JSON files.
Export MySQL query to JSON in command line
Save “MySQL query to JSON” session, then you can:
- Export MySQL query to JSON in Windows command line.
- Export MySQL query to JSON in Linux command line.
- Export MySQL query to JSON in macOS command line.
Set scheduled tasks for exporting MySQL query to JSON
You can schedule and automate this converting task by:
1) Save session and create .bat file.