<div dir="ltr"><div>I have the DB on a separate server so that might be the reason why it did not get upgraded. I am trying to login using Kubuntu 18.04 (2/24/18 Daily Image) and KMM 5.0 and I am now getting a permission denied error when I try to login with the correct password.<br><br></div>I will create a new test DB and compare the tables and see if I notice a difference in table structure. I will report back to this email.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 25, 2018 at 6:46 AM, Thomas Baumgart <span dir="ltr"><<a href="mailto:thb@net-bembel.de" target="_blank">thb@net-bembel.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
this sounds very strange. Obviously, one of the upgrade steps regarding the DB<br>
backend failed along the way (I am by far no expert at that point and it is a<br>
guess to some extent).<br>
<br>
Another wild guess is, that the cause could be some missing columns in your DB<br>
that are now used. I would suggest to make a backup of your DB (that's a good<br>
idea in any case), create a new empty database and compare the table<br>
structures (using external SQL tools). I expect a difference to show up<br>
somewhere. Then it would be a matter to correct the difference.<br>
<br>
@all: in case anyone has a better idea, please speak up. The OP is not<br>
subscribed to the list, so please CC him.<br>
<br>
Hope that helps as a first step. If you have further questions, please let us<br>
know. Make sure to send answers to the list and not to individuals only.<br>
<br>
Regards<br>
<br>
Thomas<br>
<span class=""><br>
<br>
On Samstag, 24. Februar 2018 21:16:21 CET El Cas wrote:<br>
<br>
> I upgraded from Kubuntu 16.04 to 17.10. When I installed the 4.8.0 version<br>
> that came with 17.10 and tried to connect to the DB where kmm 4.6.6 was<br>
> storing my information I got the following error.<br>
><br>
</span>> *Query error no 1064: you have an error in your sql syntax; check the<br>
<span class="">> manual that corresponds to your mysql server version for the right syntax<br>
> to use near '"order" smallint unsigned not null, identifier varchar(32) not<br>
</span>> null, primary k' at line 1 qmysql: unable to execute query.*<br>
<span class="">><br>
> I noticed that there was a 4.8.1 version so I added the repo for that<br>
> version and uninstalled 4.8.0 and installed 4.8.1. I then got a cannot open<br>
> shared library libkmm_settings.so file missing error.<br>
><br>
> I uninstalled 4.8.1 and proceed to to download the source code and I fired<br>
> off the build for tag 4.8.1.1 using the provided instructions in<br>
> README.cmake and it all compiled correctly but when I ran it I got the<br>
> following error.<br>
><br>
</span>> *Cannot open file as requested. Error was: Error in function void<br>
> MyMoneyStorageSql::<wbr>writeFileInfo() : writing FileInfo*<br>
><br>
> *Driver = QMYSQL, Host = X.X.X.X, User = kmymoney, Database = kmymoney*<br>
><br>
> *Driver Error: *<br>
><br>
> *Database Error No -1: *<br>
><br>
> *Text: *<br>
><br>
> *Error type 0*<br>
><br>
> *Executed: UPDATE kmmFileInfo SET version = ?, fixLevel = ?, created = ?,<br>
<span class="">> lastModified = ?, baseCurrency = ?, dateRangeStart = ?, dateRangeEnd = ?,<br>
> hiInstitutionId = ?, hiPayeeId = ?, hiTagId = ?, hiAccountId = ?,<br>
> hiTransactionId = ?, hiScheduleId = ?, hiSecurityId = ?, hiReportId = ?,<br>
> hiBudgetId = ?, hiOnlineJobId = ?, hiPayeeIdentifierId = ?, encryptData =<br>
> ?, updateInProgress = ?, logonUser = ?, logonAt = ?, institutions = ?,<br>
> accounts = ?, payees = ?, tags = ?, transactions = ?, splits = ?,<br>
> securities = ?, prices = ?, currencies = ?, schedules = ?, reports = ?,<br>
</span>> kvps = ?, budgets = ?; *<br>
><br>
> *Query error No -1: *<br>
><br>
> *Error type 0*<br>
<div class="HOEnZb"><div class="h5">><br>
> Is there something I can do to (besides reverting back to Kubuntu 16.04/KMM<br>
> 4.6.6) to resolve this issue?<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
<br>
Regards<br>
<br>
Thomas Baumgart<br>
<br>
<a href="https://www.telegram.org/" rel="noreferrer" target="_blank">https://www.telegram.org/</a>       Telegram, the better WhatsApp<br>
------------------------------<wbr>------------------------------<wbr>-<br>
Of all the computing resources available, the most valuable one is<br>
programmers' time. Especially in open source where most of us have to<br>
sneak in time to write and debug code. (Ace Jones)<br>
------------------------------<wbr>------------------------------<wbr>-<br>
</font></span></blockquote></div><br></div>