grafana / grafana/database-migrator

Table 'grafana.license_token' doesn't exist

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
126
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Hi all im trying to convert my sqlite database to mysql

OS Debian 12
Grafana Version 9.5.20 (commit: 1ba5cd985398b8b7d399cbcf11aaa03234d1fa42, branch: HEAD)
SQLite version 3.40.1 2022-12-28 14:03:47
mysql Ver 8.4.4 for Linux on x86_64 (MySQL Community Server - GPL)

I used the script no errors during conversion. When i try to import database i got this error
ERROR 1146 (42S02) at line 2: Table 'grafana.license_token' doesn't exist

could help?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Reproduce the SQLite-to-MySQL migration with the reported versions, inspect the generated SQL around license_token, and compare it with the Grafana schema; done means explaining or fixing why the imported database lacks that table.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, mysql, shell, sqlite
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.