Yes, this is possible. But you need to take care, when using a wrong command, you will overwrite the database!
Best is, to create a database dump of both databases in advance.
Next you need to import only the data, not the schedule/metadata from the second database.
I did this a few days ago in my test environment.
Regards
Edit: Some more details about importing:
1. make a backup of each database!
2. make another backup

!
3. Consider the "full" and enlarged database is DB_A, the "new" database is DB_B.
4. Make a dump from DB_B and edit the dumped files. From host CLI:
Code: Select all
mysqldump -u username -p DB_B > dumpfile.txt
5. It must (!) contain only the data -> remove all lines in the dump output except the line starting with
. This line ends with a
.
6. Open your "full" database
and select the database
.
7. Paste the line from #5 and press enter
8. Check with
or
Code: Select all
select * from alldata where year(datetime)=2023;
if all values are now in the database.
Regards