oef/bash/rds-import.bash

6 lines
189 B
Bash
Executable file

#!/bin/bash
RDSHOST="oef-micro.cjsemjfwbreb.eu-central-1.rds.amazonaws.com"
echo -n Password:
read -s password
mysql --host=$RDSHOST --port=3306 --user=admin --password=$password $1 < $2