Message
Licenses
Update myDBR
Some of your licenses are valid for a newer version of myDBR.
Update myDBR to use these licenses. Your myDBR version is 5.8.0.
1. Should I worry that mydbr stops working?
2. I tried upgrading but this failed with
CREATE TABLE IF NOT EXISTS `mydbr_favourite_folders` (
`id` int not null auto_increment,
`user` varchar(128),
`authentication` int NOT NULL,
`folder_id` int NOT NULL,
PRIMARY KEY USING BTREE (`id`),
INDEX USING BTREE ( `user`, `authentication` ),
FOREIGN KEY (`folder_id`) REFERENCES mydbr_folders (`folder_id`) ON DELETE CASCADE,
FOREIGN KEY (`user`, `authentication`) REFERENCES mydbr_userlogin (`user`, `authentication`) ON DELETE CASCADE
) ENGINE=InnoDB
[HY000][1005] (conn=7721537) Can't create table `mydbr`.`mydbr_favourite_folders` (errno: 150 "Foreign key constraint is incorrectly formed")
This line is the offending one
FOREIGN KEY (`user`, `authentication`) REFERENCES mydbr_userlogin (`user`, `authentication`) ON DELETE CASCADE
I tried to create the table manually without the last foreign key but upgrading still does not work
What should I do next?
Second question:
For one of the hosts I have multiple instances of mydbr running (for reporting.smartconnect.eu I have /department1 and /department2 etc)
I now see that licenses are linked to a URL instead of a host. The reason I run it in different URLs is that departments cannot see each other reports and having 1 system would certainly lead to leaking information between departments. They are however linked to the same set of database tables.
How can we solve this?