hi, still with base connecting to a MySQL database, I can’t get relationships (which it calls relations) to “stick”.
I can create them, but even if I save them they disappear as soon as the relationships window closes.
I did not have this problem with the embedded db.
LO 5.2.7 Base using JDBC.
any advice?
Anyone (Ratslinger or anyone else) get this to work with any version of LO and any version of MySQL? If so which connector did you use?
Edit: update
Yesterday I tried various things to get some relationships defined using the GUI. As reported above, each time the relationship vanished if I closed the relationships window and re-opened it. In the end I closed Base and shut down the MySQL server without (as I thought) seeing any success.
Today on starting both server and base, the relationships are all there, displayed in the relationships window as soon as I open it with Tools->Relationships. New relationships still disappear though…
On further testing, it turns out that to let the relationships appear in the relationships window, it is necessary to exit from Base and re-enter. It does not seem necessary to restart the server. In the meantime any FK constraints are enforced, so MySQL clearly does know about the new relationship.
Saving the database without exiting from Base does not seem to be enough to make Base notice the new relationship. Exiting from Base and re-entering from the LO sart page does load the updated relationship info.
Base seems therefore to skip updating its knowledge of relationship changes but does correctly load them on startup… It may well be that this is a known issue fixed in a more recent version of Base (I am using 5.2.7.2).
Please advise if a bug report is likely to be useful (and if so please point me to the bug reporting service)