github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/docs/operating/databases/mysql.md (about) 1 # IronFunctions using MySQL 2 3 Let's presuppose you don't have even a MySQL DB ready. 4 5 ### 1. Let's start a MySQL instance: 6 7 ``` 8 docker run --name iron-mysql -e MYSQL_ROOT_PASSWORD=root \ 9 -e MYSQL_DATABASE=funcs -e MYSQL_USER=iron -e MYSQL_PASSWORD=ironfunctions -d mysql 10 ``` 11 12 For more configuration options, see [docker mysql docs](https://hub.docker.com/_/mysql/). 13 14 ### 2. Now let's start IronFunctions connecting to our new mysql instance 15 16 ``` 17 docker run --rm --privileged --link "iron-mysql:mysql" \ 18 -e "DB_URL=mysql://iron:ironfunctions@tcp(mysql:3306)/funcs" \ 19 -it -p 8080:8080 iron/functions 20 ```