Kodi Community Forum

Full Version: MYSQL Database doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I'm trying to set up a mysql database for kodi with the advancedsettings file but doesn't work.

I was created this file with the exemple on kodi wiki and I place to .kodi/userdata .

When I start Kodi, my library doesn't load and the movie and series categories no longer appear. Furthermore, kodi doesn't create databases.

If I delete this file, kodi works fine and I can use my library.

My advancedsettings.xml

Where could be the problem ?

Thanks you in advance for your help.

a debug log would help, but make sure you followed all the mysql instructions, particularly the server setup.
A common mistake with mysql setup is that mysql server is not configured to listen for incoming connections on LAN,
by default it only listens on , or username% was not configured.

As @nickr said a debug log might provide more clues about what's wrong.
Hi guys, thanks you for your help.

I have modify the ip by My user can connect to my MYSQL Server because it's the administrator user (for the moment) ...

Kodi's log does not indicate an error but my library doesn't displayed .

19:40:59 T:140650481686272  NOTICE: PVRManager - starting up
19:40:59 T:140651473344832  NOTICE: starting zeroconf publishing
19:40:59 T:140651473344832  NOTICE: starting upnp client
19:40:59 T:140649617671936  NOTICE: ES: Starting UDP Event server on
19:40:59 T:140649617671936  NOTICE: UDP: Listening on port 9777
19:40:59 T:140650464900864  NOTICE: VideoInfoScanner: Starting scan ..
19:40:59 T:140650464900864  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
19:41:02 T:140650464900864  NOTICE: Start - EPG thread started
19:41:05 T:140650498471680  NOTICE: Skin Helper Service --> skin helper service version 1.0.100 started
19:41:05 T:140650498471680  NOTICE: Skin Helper Service --> WebService - start helper webservice on port 52307
Debug log, please, and no snippets - use pastebin.com for the whole log and provide the link here.

I have enabled log level 2 : http://pastebin.com/mar2g8th

Now, I have the two databases but, when I imported my library, nothing happens ...
Is your mysql server on the same machine as kodi?
Yes yes.

I have the databases "MyVideoxx" and "MyMusicxx" but I can't import my backed up library. Films and Series menus no longer display.