I was facing the same issue so for me this works:
When you generate the project from spring.io it gives the dependency of mysql as mysql-connector-j which caused issue in my case when I changes it to java it made the table in mysql.