Questions tagged csv

Explore the latest questions and answers asked by our top developers.

Export Query Result as CSV file from Docker PostgreSQL container to local machine

I’m not sure if this is possible of if I’m doing something wrong since I’m still pretty new to Docker. Basically, I want to export a query result inside PostgreSQL docker container as a csv file to my local machine. This is where I got so far. Firstly, I run my PostgreSQL docker container with […]

By nhtnhan
Categorised as csv, docker, postgresql Tagged , ,

Docker container – write CSV from PHP script adding permissions

Hi All hope someone can help! I have created a php script which does a number of cURL checks on URLS the results of which I want to write to a csv file. When I run my php script on command line or when hosted on a lampt server it will run the script fine […]

By Murfs
Categorised as chmod, csv, docker, php Tagged , , ,

Get csv_file in local directory

I have a problem with a Python script. In the script I’m creating a csv_file which I want to open in my local explorer. But the problem here is that I execute the script in a Docker Container and the csv_file doesn’t get created in my explorer. So I tried several thing: with os.getcwd() I […]

By LennartPfeiler
Categorised as containers, csv, docker, python, script Tagged , , , ,

Create csv_file with pandas.to_csv() in a specific directory

I’m currently working on an error in my application. I have a Python Script which I execute with running a docker container. In the script I want to create a csv-file with the pandas function to_csv(). The path I want to create the csv file is ‘C:/Users/lp/local_env-Returns/csv_file’. The problem is that when I give that […]

By LennartPfeiler
Categorised as csv, docker, pandas, python, script Tagged , , , ,

Mount docker directory to local folder

I have a Python script, which I start with a Docker Container. The script creates a csv-file. Now I want to have the csv-file in my local directory. I have already read about -p or -v when running the Docker. How exactly do I have to run the Container when my local path is C:/Users/lp/local_env-Returns […]

By LennartPfeiler
Categorised as csv, docker, pandas, python, script Tagged , , , ,

How to execute mysql command for export csv file from docker mysql container?

I have two tables. The first one is groups and second is categories. Groups Structure id name Categories Structure id name group_id Now, I need a CSV/XlX file in the following format. id name group_name Which is the best way to export CSV file in the following format from MySQL container by MySQL command? Source: […]

By Ikhtiar Mahmud
Categorised as csv, docker, mysql Tagged , , Is there a url parameter that just returns the mxGraphModel post a a CSV import via the desc url parameter?

The following was a very useful tool. At the time of posting it seems to have stopped working: I think it derives from a redirect that occurs when clicking the tool’s generated link. i.e from the domain to domain. Steps I have undertaken to qualify this issue: Deployed on my Mac […]

By Sascha
Categorised as csv, docker, Tagged , ,

COPY command in cassandar in docker return error;Failed to import 0 rows: IOError – Can’t open ‘fma_dataset.csv’ for r eading: no matching file found

I want import data from csv to keyspace in cassandra in docker. So I use this command step by step: docker run –name my-cassandra –network some-network -d cassandra:latest docker cp fma_dataset.csv my-cassandra:fma_dataset.csv docker run -it –network some-network –rm cassandra cqlsh my-cassandra CREATE KEYSPACE fma WITH replication = {‘class’: ‘SimpleStrategy’, ‘replication_factor’ : 1}; CREATE TABLE fma_test […]

By Ali Hosein pour
Categorised as cassandra, cqlsh, csv, docker, import Tagged , , , ,

How to export table postgres from docker to macos local

I using docker and then install postgres . Now i want export one table from postgres and insert it into mysql. I using command step by step command look like: On database postgres I access to docker container and running command copy users TO ‘/Users/maclocaluser/abc.csv’ WITH CSV HEADER DELIMITER ‘;’ But it thow me exception […]

By BaoTrung Tran
Categorised as csv, docker, mysql, postgresql Tagged , , ,

How to upload CSV data to Oracle database, when your Oracle image runs in docker when mistakes Oracle are: 29913, 29400?

I have issue with uploading files to my database through an external table: I can create, read, drop directories, tables by anton_gridushko user, but have no idea why I have troubles when I try to load data to created table. I used this tutorial but did everything in an SQL Developer worksheet. Could you give […]

By Anton84
Categorised as csv, docker, external-tables, oracle Tagged , , ,
1 2

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us