Koushik S
2016-03-07 15:58:11 UTC
Hi,
I am trying to run this sql file but somehow it is not getting executed.
Anything wrong with this?
docker run -it -e MYSQL_ROOT_PASSWORD=Password -v $(pwd)/mysql/script:/tmp/ --link auditdata:mysql --rm mysql sh -c 'exec mysql -hmysql -P3306 -uroot -pPassword operations_rw < /tmp/create_table.sql'
I am trying to run this sql file but somehow it is not getting executed.
Anything wrong with this?
docker run -it -e MYSQL_ROOT_PASSWORD=Password -v $(pwd)/mysql/script:/tmp/ --link auditdata:mysql --rm mysql sh -c 'exec mysql -hmysql -P3306 -uroot -pPassword operations_rw < /tmp/create_table.sql'