If I read your code correctly then your init.sql is not used anywhere, that why there is no tables.
init.sql
Check this example how to initialize DB:
How can I initialize a MySQL database with schema in a Docker container?