Link to home
Start Free TrialLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag for India

asked on

how to write docker script to update maria DB

how to write docker script to update maria DB

1. How to connect docker to Maria DB
2. How to do insert and update in Maria DB
Avatar of Prabhin MP
Prabhin MP
Flag of India image

Can please explain more detail.
where is mariaDB server?
Avatar of Sathish David  Kumar N

ASKER

Docker container in server client server place ,
Maria DB in AWS cloud
how you want to connect the database in aws, via cmd or application properties?
via docker script
Docker image in EC2
Actually I need to write a shell script that will read CSV file from s3 bucket and put it in maria DB

if you have any sample code that would be help full for me
How to download awscli in docker

Docker run awscli  ---------------- is expecting user name password
aws cli requires access key and secret key,
Here is the image for docker aws cli,
https://hub.docker.com/r/garland/aws-cli-docker/

get your aws details and pass it.
any sample application to run mariaDB connection establised and put some value in table ?

any  way aws cli or docker script
ASKER CERTIFIED SOLUTION
Avatar of Prabhin MP
Prabhin MP
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
can you give me some example link .. I tired this but its does not help me