I want to import csv file data into phpmyadmin installed in AWS/EC2 with php query statement.
Therefore, I am trying to put php file and csv file in the same directory in EC2.
The command to copy from the local csv file returns with an error.
We would appreciate if you could point out any mistakes in the steps you have performed so far.
You can log in to EC2 with ssh.
Execution command scp -i /Users/apple/Downloads/ssh.pem winneyuser.csv/-r ec2-user @ IP address:/home/ec2-user / Code
Error text ssh: connect to host IP address port 22: Operation timed out lost connection Code
Answer # 1
scp -i /Users/apple/Downloads/ssh.pem winneyuser.csv/-r ec2-user @ IP address:/home/ec2-user / Code
Solved by executing the above IP address part with global IP (public).
- python - i want to import a csv file locally
- php - i want to get the file size of a blob file stored in the database
- import mysql csv file
- nginx - i want to import a 1gb csv file
- python - i want to read a csv file and output it
- i want to upload a csv file at jupyter labo
- php - i want to save the file in the specified directory
- i want to read a csv file with python numpy
- i want to solve php validation
- php - i want to omit letters with a clamp
- python - i want to delete a 100 mb file on git
- php - [errno 2] no such file or directory
- php - i want to search wordpress in real time
- python - i want to read a file path with "/" in the folder name
- php - i want to jump to the definition destination with vs code
- i want to have date information in php link parameters
- i want to run a python file on windows on a mac!
- python - i want to pass a gzip file to iot core → lambda
- java - i want to get a file by specifying a directory
- php - i want to link the date on the calendar
- php - i want to set cron on ec2
- amazon ec2 - are ec2 m5 instances and macbooks comparable in performance?
- i can't install phpdotenv on ec2
- amazon ec2 - i want to build a site with a domain service that does not have an alias function such as ec2 + rds + cloudfront +
- amazon ec2 - flask application cannot be deployed with elastic beanstalk
- i want to eliminate the error when connecting to mysql on ec2 from sequel pro
- amazon ec2 - i want to upload a directory containing html etc to ec2 and display it
- amazon ec2 - lost connection occurs when trying to send mail with postfix from ec2 on aws
- amazon ec2 - i can't install nodejs on my ec2 instance
- php fatal error: call to a member function fetchrow () does not show site