Database Import and Export
Data can be imported to a DB connection from a file on your machine, or exported and downloaded to you machine.
Overview
In this guide, you will learn how to import and export a file for the following supported Database protocols:
SQL Import and Export
SQL Import
Import data from a file on your machine into the MySQL connection.
To import data from a csv file, is the LOAD DATA
MySQL command:
Copy
In the example above, "<table>" should be replaced with the SQL table to import data into. The other parts of the command are required for CSV-formatted files. If your uploaded file uses different termination characters update the query accordingly.
After running the query, Keeper Connection Manager will prompt you to supply the data file. To upload the file, simply drag and drop it from your machine onto the browser window.
The file uploaded does not have to have the same name given in the query
SQL Export
Data from the connected MySQL database can be exported to a file on your machine. To do this, use the following query:
Copy
The result of the given <query> will be put into a CSV file with the given name and downloaded from the browser to your machine.
SQL Server Import and Export
SQL Server Import
Import data from a file on your machine into the SQL Server connection.
To import data from a csv file, is the COPY
command:
Copy
In the example above, "<table>" should be replaced with the SQL table to import data into. The other parts of the command are required for CSV-formatted files. If your uploaded file uses different termination characters update the query accordingly.
After running the query, Keeper Connection Manager will prompt you to supply the data file. To upload the file, simply drag and drop it from your machine onto the browser window.
The file uploaded does not have to have the same name given in the query
SQL Server Export
Data from the connected PostgreSQL database can be exported to a file on your machine. To do this, use the following query:
Copy
The result of the given <query> will be put into a CSV file with the given name and downloaded from the browser to your machine.
PostgreSQL Import and Export
PostgreSQL Import
Import data from a file on your machine into the PostgreSQL connection.
To import data from a csv file, is the COPY
command:
Copy
In the example above, "<table>" should be replaced with the SQL table to import data into. The other parts of the command are required for CSV-formatted files. If your uploaded file uses different termination characters update the query accordingly.
After running the query, Keeper Connection Manager will prompt you to supply the data file. To upload the file, simply drag and drop it from your machine onto the browser window.
The file uploaded does not have to have the same name given in the query
PostgreSQL Export
Data from the connected PostgreSQL database can be exported to a file on your machine. To do this, use the following query:
Copy
The result of the given <query> will be put into a CSV file with the given name and downloaded from the browser to your machine.
Last updated
Was this helpful?