title: Spring Boot not running schema.sql
body: <p>I am having an issue running the schema.sql upon running the program.</p>
  
  <p>In my pom.xml, I already have the mysql config:</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;mysql&lt;/groupId&gt;
      &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
      &lt;scope&gt;runtime&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I only have one class</p>
  
  <pre><code>@SpringBootApplication
  public class Application {...}
  </code></pre>
  
  <p>Under src/resources, I have schema.sql containing:</p>
  
  <pre><code>DROP TABLE IF EXISTS test_table;
  
  CREATE TABLE test_table (
      id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
      ...
  );
  </code></pre>
  
  <p>Under src/resources, I have application.yml containing:</p>
  
  <pre><code>spring.datasource.driverClassName: "com.mysql.jdbc.Driver"
  spring.datasource.url: "jdbc:mysql://localhost:3306/sample?useSSL=false"
  spring.datasource.username: "****"
  spring.datasource.password: "****"
  </code></pre>
  
  <p>I have confirmed that I am able to connect to the database "sample" upon starting the application, however, it's not creating the table.  Please advise.</p>