title: InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4000
body: <p>I run my docker-compose file mysql last version in windows. But i want to run mysql version5.7 and i am getting an error.</p>
  <blockquote>
  <p>InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4000!</p>
  </blockquote>
  <p><strong>docker-compose.yaml</strong></p>
  <pre><code>version: '3'
  services:
    mysql:
      image: mysql:5.7
      volumes:
        - db_data:/var/lib/mysql
      restart: always
      environment:
        MYSQL_ROOT_PASSWORD: password
      ports:
        - 3306:3306
  
  volumes:
    db_data:
  </code></pre>
  <p><strong>application.yaml</strong></p>
  <pre><code>spring:
    datasource:
      type: com.zaxxer.hikari.HikariDataSource
      url: &amp;connectionUrl jdbc:mysql://${DB_CONNECTION_IP:localhost}:${DB_CONNECTION_PORT:3306}/masa?createDatabaseIfNotExist=true&amp;useSSL=false&amp;useJDBCCompliantTimezoneShift=true&amp;useLegacyDatetimeCode=false&amp;serverTimezone=UTC&amp;zeroDateTimeBehavior=convertToNull&amp;useUnicode=true&amp;characterEncoding=UTF-8
      username: &amp;username ${DB_CONNECTION_USERNAME:root}
      password: &amp;password ${DB_CONNECTION_PASSWORD:root}
    jpa:
      show-sql: true
  </code></pre>
  <p>How can I solve this problem?</p>