v15 Kodi not making db
#1
Hi all running the msql db on a synology 3615 and that is running fine.
The problem is that kodi isn't creating a db locally and not on my mysldb as well because it cant create one to export on the local machines.
I have this problem on my win laptop as well on my intell nuc running openelec.
I can search by filr browser but not possible to create a db anywhere.
Here is a debug log from my win10 machine.
Code:
00:59:52 T:6528  NOTICE: Thread PeripBusCEC start, auto delete: false
00:59:52 T:1164  NOTICE: Thread PeripBusUSB start, auto delete: false
00:59:52 T:10832  NOTICE: Running database version Addons19
00:59:52 T:10832  NOTICE: Running database version ViewModes6
00:59:52 T:10832  NOTICE: Running database version Textures13
00:59:53 T:10832   ERROR: Unable to open database: MyMusic52 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic51 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic50 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic49 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic48 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic47 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic46 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic45 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic44 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic43 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic42 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic41 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic40 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic39 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic38 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic37 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic36 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic35 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic34 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic33 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic32 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic31 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic30 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic29 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic28 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic27 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic26 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic25 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic24 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic23 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic22 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic21 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic20 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic19 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic18 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyMusic52 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to create new database
00:59:53 T:10832   ERROR: Unable to open database: MyVideos93 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos92 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos91 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos90 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos89 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos88 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos87 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos86 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos85 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos84 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos83 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos82 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos81 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos80 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos79 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos78 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos77 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos76 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos75 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos74 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos73 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos72 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos71 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos70 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos69 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos68 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos67 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos66 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos65 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos64 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos63 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos62 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos61 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos60 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to open database: MyVideos93 [1045](Access denied for user 'kodi'@'eric-PC' (using password: YES))
00:59:53 T:10832   ERROR: Unable to create new database
00:59:53 T:10832  NOTICE: Running database version TV29
00:59:53 T:10832  NOTICE: Running database version Epg10
00:59:54 T:10832 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel"
00:59:54 T:10832 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended"
00:59:54 T:10832 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
00:59:54 T:10832 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
00:59:54 T:5048  NOTICE: Thread LanguageInvoker start, auto delete: false
00:59:54 T:10832  NOTICE: CApplication::UpdateLibraries: Starting video library startup scan
00:59:54 T:9176  NOTICE: Thread JobWorker start, auto delete: true
00:59:54 T:10832  NOTICE: initialize done
00:59:54 T:8216  NOTICE: Thread LanguageInvoker start, auto delete: false
00:59:54 T:10832  NOTICE: Running the application...
00:59:54 T:10832  NOTICE: Webserver: Starting...
00:59:54 T:10832  NOTICE: WebServer: Started the webserver
00:59:54 T:10832  NOTICE: starting upnp client
00:59:54 T:10832  NOTICE: starting upnp server
00:59:54 T:10832  NOTICE: starting upnp controller
00:59:54 T:10832  NOTICE: ES: Starting event server
00:59:54 T:8656  NOTICE: Thread EventServer start, auto delete: false
00:59:54 T:8656  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
00:59:54 T:3088  NOTICE: Thread TCPServer start, auto delete: false
00:59:54 T:8656  NOTICE: UDP: Listening on port 9777
00:59:54 T:1568  NOTICE: Thread RSSReader start, auto delete: false
This all on my local machine.
What is going wrong here?
I could see in the log that it's loading the advancedsetting.xml file as it should do so it can connect to the mysql on my syno i think?
Any help aprreciated
Reply
#2
I'm having this same problem on a QNAP per this post here:
http://forum.kodi.tv/showthread.php?tid=...pid2179930

Maybe we can compare notes and see if we've neglected to do something. Have a look at my post and let me know if it looks right to you?
Reply
#3
I also noticed that it doesn't scrape anything on the machines.
When i set content on the folders if it is the music folder or movies or tvshows folder noting happensHuh?
As far as i know it should add/find the stuf and see some kind of progress bar on right side top tha it's scanning the folders?
But that doesn't happen.
tried to reinstall several times a clean install.
There is no db is the msql server at all atm.
Plese help?
Reply
#4
Have you considered running Kodi directly on the NAS, and setting it to share its DB via UPnP? I'm thinking of doing exactly that. Check my post here for other thoughts...
http://forum.kodi.tv/showthread.php?tid=251076
Reply
#5
Well the error is right there:

ERROR: Unable to open database: MyMusic52 [1045](Access denied for user 'Kodi'@'eric-PC' (using password: YES))

So your username/password combo isn't valid.

MySQL caches users and passwords so it's necessary to run:

Code:
FLUSH PRIVILEGES;

After creating the account.

http://kodi.wiki/view/MySQL/Setting_up_MySQL
Reply
#6
Hoping someone can help me with a very similar problem.

I'm using a Qnap TS653 pro that I received for Christmas (which handily already has Kodi installed) to store all my media and I'm using MYSQL along side phpmyadmin to create the databases on the Qnap also.

These are the steps I have followed:

1) set up the database using the following -
CREATE USER 'kodi' IDENTIFIED BY 'kodi';
GRANT ALL ON *.* TO 'kodi';
flush privileges;

This creates the databases myvideos93 and mymusic52.

2) I've set up my advancesettings.xml, on my desktop (which I want to be the 'master' if you like) which reads:
Code:
<?xml version="1.0"?>

<advancedsettings>


<videodatabase>

<type>mysql</type>

<host>192.168.0.5</host>

<port>3306</port>

<user>kodi</user>

<pass>kodi</pass>

</videodatabase>


<musicdatabase>

<type>mysql</type>

<host>192.168.0.5</host>

<port>3306</port>

<user>kodi</user>

<pass>kodi</pass>

</musicdatabase>


<pathsubstitution>


<substitute>

<from>special://masterprofile/Thumbnails/</from>

<to>smb://192.168.0.5/xbmc/userdata/Thumbnails/</to>

</substitute>

</pathsubstitution>


<videolibrary>

<hideallitems>true</hideallitems>

<cleanonupdate>true</cleanonupdate>

</videolibrary>


<musiclibrary>

<hideallitems>true</hideallitems>

<cleanonupdate>true</cleanonupdate>

</musiclibrary>


<videoextensions>

<add>.f4v</add>

</videoextensions>

</advancedsettings>

3) Add movies and scrape artwork using local sources only (all my media is scraped outside of kodi, using ember)

So I can see that on Running kodi on my desktop it creates the thumbnails folder in the right place, and it creates entries in the movie database.

However, when I then copy the advancedsettings.xml to the Qnap and run Kodi, it seems unable to access the database:
debug log here

If anyone can help, it would be really appreciated, this problem has seen me pulling what little hair I have left out since yesterday.

Apologies for the long post, but I've tried to be as thorough as possible.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi not making db0