<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Maik Qualmann kirjoitti 30.08.2016 22:27:<br>><i> Sorry, if not used the internal MySQL server, the line must be added to<br>
</i>><i> the<br>
</i>><i> global my.cnf file or ~/.my.cnf.<br>
</i>
Noup. I wasn't sure which ~/.my.cnf should I use (my local workstation,<br> or server, and what user?), so I first added it to for my local user<br> (MySQL server is running on different machine). I followed if Digikam<br> accesses the file by using "inotifywait -m .my.cnf". No-one read it, so<br> next thing I did was to add the line for server master config (under<br> [mysqld]) and restarted the MySQL server. But no luck, everything<br> remains as they were.<br>
Mikki</blockquote><div><br></div><div>Hello all</div><div><br></div><div>I experience the same error. Is there any news on this issue? Can I help with more information?</div><div><br></div><div>My setup</div><div><ul><li>mariadb <span style="color:rgb(0,0,0);font-family:monospace">10.0.27</span><br></li><li>OpenSuse Leap 42.2<br></li><li>Digikam 5.2</li></ul></div><div>best, Kusi</div><div><br></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,84,255)">~</span><span style="font-weight:bold;color:rgb(255,84,84)"> </span><span style="font-weight:bold;color:rgb(84,84,255)">$</span><span style="color:rgb(0,0,0)"> digikam
</span><br>digikam.general: AlbumWatch use QFileSystemWatcher
<br>QFileSystemWatcher::removePaths: list is empty
<br>digikam.general: Database Parameters:
<br> Type: "QMYSQL"
<br> DB Core Name: "digikamdb"
<br> DB Thumbs Name: "digikamthumbdb"
<br> DB Face Name: ""
<br> Connect Options: ""
<br> Host Name: "brack"
<br> Host port: 0
<br> Internal Server: false
<br> Internal Server Path: ""
<br> Internal Server Serv Cmd: ""
<br> Internal Server Init Cmd: ""
<br> Username: "digikamuser"
<br> Password: "XXXXXXXXX"
<br>
<br>digikam.dbengine: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
<br>digikam.dbengine: Checking XML version ID => expected: 3 found: 3
<br>digikam.coredb: Core database: running schema update
<br>digikam.coredb: Core database: have a structure version 7
<br>digikam.coredb: Core database: makeUpdates 7 to 8
<br>digikam.dbengine: Failure executing query:
<br> "" <br>Error messages: "QMYSQL: Unable to execute query" "Specified key was too long; max key length is 767 <br>bytes" 1071 2 <br>Bound values: ()
<br>digikam.dbengine: Error while executing DBAction [ "UpdateSchemaFromV7ToV8" ] Statement [ "ALTER TABL<br>E Albums\n ADD CONSTRAINT Albums_AlbumRoots FOREIGN KEY (album<br>Root) REFERENCES AlbumRoots (id) ON DELETE CASCADE ON UPDATE CASCADE,\n <br> ADD UNIQUE (albumRoot, relativePath(255)),\n ENGINE <br>InnoDB;" ]
<br>digikam.coredb: Core database: schema update to V 8 failed!
<br>digikam.coredb: Core database: cannot process schema initialization<br>
<br></span></div><div><br></div><div> </div></div>