<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>As, the privilegdes cannot be granted from users space, but must be done by server admin, the internal solution is a non sense. Sqlite do the stuff as well in this situation. As i said previously, trying to run digiKam with an internal mysql server will generate a lots of problems, a lots of reports, and finaly, only if user is an expert, this will not possible to use this way.</div><div><br></div><div>So i will drop internal mysql support for 5.0.0</div></div></div></div></blockquote><div><br></div><div>All right.. i mean, it is easier to develop like this, one solution only</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>yes. The way to do it il given below :</div><div><br></div><div><span style="color:rgb(46,52,54);font-family:'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:22.4px;white-space:pre-wrap;background-color:rgb(254,254,254)">CREATE DATABASE digikamdb;GRANT ALL PRIVILEGES ON digikamdb.* TO 'digikamuser'@'localhost' IDENTIFIED BY 'digikamuserpassword'; FLUSH PRIVILEGES;
GRANT SUPER ON *.* TO 'digikamuser'@'localhost'; FLUSH PRIVILEGES;</span></div></div></div></div></blockquote><div><br></div><div>Why do digikam need super?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>The here another pending and very important question : </div><div><br></div><div>With digiKam 5.0.0, we will have 3 database to manage :</div><div><br></div><div>1/ Core DB</div><div>2/ Thumbnails DB</div><div>3/ Face DB (since libkface is merged in digiKam core)</div><div><br></div><div>For each digiKam database we can use a specific name. By default i used the name name (digikamdb) here to test, and it work for Core and Thumbnails DB. Face DB don't work and investiguations are under progress...</div><div><br></div><div>So, the question is : why we have the capability to separate Core, Thumbnails, and Face DB with different name (as for ex digikamcoredb, digkamthumbsdb, and digikamfacedb) ? </div></div></div></div></blockquote><div><br></div><div>I think this is purely organization related right?</div><div>I dont realy see any reason why it should be separated.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>In my /var/lib/mysql, i can see separated subfolders to host DB ? What's the advantage ? backup facilities ? Performances ? What's must be the default settings : common name or separated name ?</div></div></div></div></blockquote><div><br></div><div>Having separated databases, you will have to adjust the user  grant permissions for each case as well. </div><div>Same for backup, now we have to backup 3 databases for backup digikam.</div><div><br></div><div>As far as i know, there is no performance gain in any situation, but you gain complexity as you will need to create the mutiple users and also, you may be in a situation where you are not sure in wich database this "data" should be.</div><div><br></div><div>I would vote for a single database, but i am no expert and thougt it was a design choice to have multple databases.</div><div><br></div><div>One reason to have it not as the same, if you wish to use thumbtail on disk and the rest on mysql, but i guess this will introduce more problens than any real advantages.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>All this point are not clear for me (and also for end users as i can see in bugzilla).</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I prefere mysql cause it would be possible/easier to use digikam on multiple computers with the same database!</div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Sure, this is another important feature, which introduce other dysfunctions as i can see in bugzilla.</div><div><br></div><div>We must investigate step by step, first with simple user cases...</div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Gilles Caulier</div></div></div></div>
_______________________________________________<br>
Digikam-users mailing list<br>
<a href="mailto:Digikam-users@kde.org" target="_blank">Digikam-users@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-users" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
</blockquote></div></div>