Help with getting kmymoney working again on ubuntu 18.04

Christoph Adomeit Christoph.Adomeit at gatworks.de
Fri Sep 21 16:25:56 BST 2018


Hi there,

I have used kmymoney 4.x so far (the standard kmymoney binary that came with ubuntu 16.4)

All My data is in a mysql database

Now I updated my ubuntu to 18.04 and it comes witj kmymoney 5.0.

I cannot open my database anymore.

When I open my mysql database from kmymoney i get this error:

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:  


There is a slash to much prepended to the Database name.

According to Bugtracker this Bug has been fixed in May.

So I am trying to now to copile master myself on ubuntu 18.04.

But here I have this error:

cmake:124 (add_library):
  Target "qsqlcipher" links to target "Qt5::SqlPrivate" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
  Call Stack (most recent call first):
  kmymoney/plugins/sqlcipher/CMakeLists.txt:29 (kcoreaddons_add_plugin)

  -- Generating done
  -- Build files have been written to: /u/src/kmymoney/build

I dont have any packagesfor SqlPrivate.

Any idea what I can do ?

Does anyone have a working package or appimage of kmymoney for ubuntu 18.04 with mysql databases ?

Thanks

Christoph


More information about the KMyMoney-devel mailing list