Got an error durring import of converted database

The connection between grafana server and mysql is working.
I check are there any tables in the database after i start the server and when i check there were allot of tables.

IS the grafana version that is now using the migrated data in mysql still Grafana Version 9.5.20?

This is related to the license_token table mentioned in the error message.
This is likely happening because the database-migrator tool is trying to import data into a table that doesn’t exist yet in your MySQL database.
You can try the steps:

    • Configure Grafana to use your MySQL database
  • Start Grafana once to let it create all the necessary tables
  • Stop Grafana
  1. Then run the migration tool:
  • After Grafana has created the tables, run the database-migrator again
  • This will import your data into the existing schema

If you still encounter errors, you might need to modify the generated SQL file:

  • Open the SQL file generated by the migrator
  • Comment out or remove the statements related to the license_token table
  • Run the modified SQL file against your MySQL database

I used chatgpt to help me fixing database.
The database that is created by grafana from the initiation of the service did not have some of the tables that exported database have.

So i created the tables and imported successfully