database-migrator icon indicating copy to clipboard operation
database-migrator copied to clipboard

Code to export grafana.db (sqlite) to MySQL-compatible SQL file, to assist in migration of Grafana data to MySQL-compatible DB.

Results 13 database-migrator issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi I use Grafana 8.1.2 in docker with sqlite backend (the default). I spun up a mysql server to have an external DB, and used your script to migrate data....

psql:postgres_grafana_v2.sql:62753: ERROR: column "encrypted_data" is of type bytea but expression is of type bit LINE 1: ...a_keys VALUES('P1lrPhq7k',1,'root','secretKey.v1',X'684f4f43... Please find the line 62753 from the sql file below : 62753...

Is postgresql support coming anytime soon? Thanks :)

Hello, I'm having error message when executing the migration script, does someone have an ideia of what it could be? Ubuntu 22.04 Grafana 10.0 Sqlite3 3.37.2 ![image](https://github.com/grafana/database-migrator/assets/43658744/79aa1e69-06fe-4266-9f32-26db6a840ae9)

I'm using this script to migrate a Grafana 6.6.1 installation from SQLite to MariaDB. When I attempt to import the dump with the mysql client I get the following error:...

I have a problem when migration to mysql. Who can help me!! root@grafana:/opt# mysql -u grafana -p grafana < db_dump.sql Enter password: ERROR 1062 (23000) at line 147808: Duplicate entry...

This script do not export table data, so it is quite useless from my point of view

I've had some issues using this project to migrate my sqlite database to mysql. Grafana Version: 9.1.6 SQLite Version: 3.35.5 When running the `sqlitedump.sh` script, it generates this output: ```...

Hi we use grafana as a part of percona's monitoring and management tool. While migrating that grafana (9.2.13) from sqlite to mysql backend, we faced the following issue: Some dashboards...

![image](https://user-images.githubusercontent.com/2940588/229086873-53d079a7-dd23-46de-8e87-ac4d91e37094.png) I had to edit the exported script to remove the truncate statements for tables that didn't exist and also the timezone identifier fix then I came to this error.