I just compiled kmymoney5 and cannot open my KMyMoney mysql and cannot connect to my mysql database because of a prepended / to the database name. Debug Output: Error in function int MyMoneyStorageSql::open(const QUrl&, int, bool) : opening database Driver = QMYSQL, Host = localhost, User = root, Database = /KMyMoney Driver Error: QMYSQL: Unable to connect Database Error No 1049: Unknown database '/KMyMoney' Text: Unknown database '/KMyMoney' QMYSQL: Unable to connect Error type 1 Executed: Query error No -1: Error type 0 Something magically prepends the slash to the database name, i did not enter it
Can you try to build from master instead of 5.0.1 and report back if this solves the issue for you? I think commit c5a3c44b2a341d6efc1a55bc55dcff9ff5a594c8 should help.
Sorry, took me some time to compile Master. The problem is still the same, just a slash too much
I cannot duplicate this problem with current 5.0 branch which is the same code base as master wrt to db code. Maybe it complained about a missing password. That was another problem I just fixed in the 5.0 branch.
*** Bug 400502 has been marked as a duplicate of this bug. ***
*** Bug 415378 has been marked as a duplicate of this bug. ***