https://bugs.kde.org/show_bug.cgi?id=427051
Bug ID: 427051 Summary: The saving of a database to MySQL fails Product: kmymoney Version: 5.1.0 Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: database Assignee: kmymoney-devel@kde.org Reporter: sboyc...@hotmail.com Target Milestone: --- SUMMARY The saving of a database to MySQL fails STEPS TO REPRODUCE 1. Install KMyMoney on Windows. Add libmysql.dll to kmymoney/bin otherwise MySQL saving does not work 2. Try to save a database to SQL/MYSQL. Use "Save As...", select "SQL", select Database Type MySQL 3. specify the database name, host name, username and password 4. Click "OK" OBSERVED RESULT The DB is created, tables also are created, but then: The following error message is shown: Cannot save to current database: Error in function unsigned long __cdecl MyMoneyStorageSqlPrivate::highestNumberFromIdString(class QString,class QString,int) : starting commit unit Driver = QMYSQL, Host = nas542, User = sboychev, Database = KMyMoney Driver Error: Database Error No -1: Text: Error type 0 Executed: Query error No -1: Driver not loaded Driver not loaded Error type 1 C:\_\9b0777e7\kmymoney\kmymoney\plugins\sql\mymoneystoragesql.cpp:359 EXPECTED RESULT Saved DB in MySQL SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.71.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION -- You are receiving this mail because: You are the assignee for the bug.