In fact when i started to port code to Qt5, i used 5.4, but i'm sure that 5.2 will work as well. Gilles 2015-11-18 14:49 GMT+01:00 Richard Mortimer <[hidden email]>: On 18/11/2015 13:21, Gilles Caulier wrote: _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Henrique Santos Fernandes
Certainly, but this will not solve the problem with internal server solution, because in this case there is no way to tune table creation from mysql prompt... All is done in background by digiKam database server (i don't yet investigate in this code). Gilles 2015-11-18 14:56 GMT+01:00 Henrique Santos Fernandes <[hidden email]>:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I thought support for interval database had been dropped! Em qua, 18 de nov de 2015 12:19, Gilles Caulier <[hidden email]> escreveu:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
For the moment no. It's always easy to drop code against to write code. As i explore and fix code, i can expect to find a solution for internal server. I will see later to drop or not. Note : with this commit : We are able to setup a mysql server to host Core, Thumbs, and Face database in both case : - Separated DB - Common DB The case of internal server will inherit of this fix. Without it, i'm sure that it cannot work properly. So for internal server, we need to found why index procedure is problematic. As i can see the server is initialized by a mysql-global.conf config text file. I'm sure that some settings need to be adjusted here, but which one exactly, i don't know.... Gilles Caulier 2015-11-18 15:23 GMT+01:00 Henrique Santos Fernandes <[hidden email]>:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
The proof about common mysql server database init : [root@localhost lib]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 15 Server version: 10.0.22-MariaDB Mageia MariaDB Server Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | digikamdb | | information_schema | | mysql | | performance_schema | | test | +--------------------+ 5 rows in set (0.01 sec) MariaDB [(none)]> use digikamdb; Database changed MariaDB [digikamdb]> show tables; +----------------------+ | Tables_in_digikamdb | +----------------------+ | AlbumRoots | | Albums | | CustomIdentifiers | | DownloadHistory | | FilePaths | | Identities | | IdentityAttributes | | ImageComments | | ImageCopyright | | ImageHaarMatrix | | ImageHistory | | ImageInformation | | ImageMetadata | | ImagePositions | | ImageProperties | | ImageRelations | | ImageTagProperties | | ImageTags | | Images | | OpenCVLBPHRecognizer | | OpenCVLBPHistograms | | Searches | | Settings | | TagProperties | | Tags | | TagsTree | | Thumbnails | | UniqueHashes | | VideoMetadata | +----------------------+ 29 rows in set (0.01 sec) Gilles Caulier 2015-11-18 15:32 GMT+01:00 Gilles Caulier <[hidden email]>:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I think i find the problem with database creation in case of internal Mysql server is used... There are 2 instance in code where CREATE DATABASE sql statement are used : I think it miss extra arguments in these statement to grant privilege to user (digikam in this case) Gilles Caulier 2015-11-18 15:33 GMT+01:00 Gilles Caulier <[hidden email]>:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
I fixed Mysql Internal server support with this commit : I need feedback now... Gilles Caulier 2015-11-18 16:10 GMT+01:00 Gilles Caulier <[hidden email]>:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
New database setup config panel : https://www.flickr.com/photos/digikam/23121578776 https://www.flickr.com/photos/digikam/23147681465 https://www.flickr.com/photos/digikam/22851871180 It's now yet fully done. It still some buttons and tunes to add, especially to be able to config Mysql internal place to store database files (as SQlite), but at least it's more better than before. Gilles Caulier 2015-11-19 16:02 GMT+01:00 Gilles Caulier <[hidden email]>:
_______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-4
Are you using MySql, the now Oracle owned product, or MariaDB the MySql fork
that the original developers of MySql started after they weren't happy with life at Oracle. On Thu, Nov 12, 2015 at 03:26:45PM +0100, Gilles Caulier wrote: > 2015-11-12 15:15 GMT+01:00 Myriam Schweingruber <[hidden email]>: > > > Hi all, > > > > seems I posted from the wrong address the first time... > > > > On Thu, Nov 12, 2015 at 10:55 AM, Gilles Caulier > > <[hidden email]> wrote: > > > At least, somebody can said me if an internal Mysql solution is suitable > > or > > > not without to hack the DB installation outside digiKam. > > > > > > I read all bugzilla entries, and to setup Mysql, users need to grant > > > privileges by hand before to configure digiKam with it. > > > > > > This is not possible to do the same with an internal server, since few > > years > > > ago, Mysql switch DB engine to ImmoDB which require granted privilege to > > > create DB indexes. And this is typically the problem that i can see when > > i > > > want to create the MySql DB through the internal server. > > > > > > If i look how Amarok do with Mysql, internal server solution do not > > exist. > > > Only a remote server is avaialble in setup. > > > > That is not correct, Amarok uses MySQL embedded by default, setting up > > an external MySQL server is just an additional option for people who > > need to share a database across computers. > > > > Ah, it's not SQlite... Interesting... > > So my question is : how to create DB indexes and triggers with an internal > solution. When i look in bugzilla, some users have investigated and see > that mysql indexes creation need granted privileges since immodb DB engine > is used. And this is true : i reproduced the dysfunction and fixed it. > > Or perhaps Amarok do not use Indexes and triggers. In this case, DB > performances will just down... > Or perhaps Amarok do not use immodb engine... > > Gilles Caulier > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users -- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity Read enough of the top-10 lists that American movie critics put together and you might wonder whether a single damn film worth watching came out before the first of October. ~ Andrew O'Hehir _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
In reply to this post by Gilles Caulier-4
Ignore my previous message. Time for me to have a cup of coffee before writing. On Thu, Nov 12, 2015 at 03:26:45PM +0100, Gilles Caulier wrote: > 2015-11-12 15:15 GMT+01:00 Myriam Schweingruber <[hidden email]>: > > > Hi all, > > > > seems I posted from the wrong address the first time... > > > > On Thu, Nov 12, 2015 at 10:55 AM, Gilles Caulier > > <[hidden email]> wrote: > > > At least, somebody can said me if an internal Mysql solution is suitable > > or > > > not without to hack the DB installation outside digiKam. > > > > > > I read all bugzilla entries, and to setup Mysql, users need to grant > > > privileges by hand before to configure digiKam with it. > > > > > > This is not possible to do the same with an internal server, since few > > years > > > ago, Mysql switch DB engine to ImmoDB which require granted privilege to > > > create DB indexes. And this is typically the problem that i can see when > > i > > > want to create the MySql DB through the internal server. > > > > > > If i look how Amarok do with Mysql, internal server solution do not > > exist. > > > Only a remote server is avaialble in setup. > > > > That is not correct, Amarok uses MySQL embedded by default, setting up > > an external MySQL server is just an additional option for people who > > need to share a database across computers. > > > > Ah, it's not SQlite... Interesting... > > So my question is : how to create DB indexes and triggers with an internal > solution. When i look in bugzilla, some users have investigated and see > that mysql indexes creation need granted privileges since immodb DB engine > is used. And this is true : i reproduced the dysfunction and fixed it. > > Or perhaps Amarok do not use Indexes and triggers. In this case, DB > performances will just down... > Or perhaps Amarok do not use immodb engine... > > Gilles Caulier > _______________________________________________ > Digikam-users mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-users -- Michael Rasmussen, Portland Oregon Be Appropriate && Follow Your Curiosity Bicycles are traffic ~ Critical Mass _______________________________________________ Digikam-users mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-users |
Free forum by Nabble | Edit this page |