Server Side Swift with Vapor 路 Getting Started With Leaf |

This is a companion discussion topic for the original entry at

I am getting the following error

docker container is running

Akshays-MacBook-Air-2:TILApp akshaydevkate$ docker ps
cd3e04ea6827 mysql/mysql-server:5.7 鈥/ mysq鈥︹ 33 seconds ago Up 32 seconds (healthy) 3306/tcp, 33060/tcp mysql
Akshays-MacBook-Air-2:TILApp akshaydevkate$

no response in browser to localhost:8080

Please help @0xtim

Are you definitely running MySQL 5.7? That鈥檚 the error you get when you run MySQL 8

Yes i am using MySql version 5.7 Screenshot 2020-01-08 at 11.46.43 PM

Screenshot 2020-01-08 at 11.48.35 PM

Hmm odd, what command did you use to start the container?

I used following command

docker run --name mysql -e MYSQL_USER=til -e MYSQL_PASSWORD=password -e MYSQL_DATABASE=vapor -p 3306:3306 -d mysql/mysql-server:5.7

to execute

docker exec -it mysql mysql -u til -ppassword

to start the container i used

docker start mysql

Looks fine! How about your configure.swift? And have you run swift package update to make sure you鈥檙e on the latest versions of things?