Openelec - Mysql - Synology sudden access problem
#1
Hi,

Since upgraded to openelec 6.0 I have some weird problems.
I have 2 Rpi's2, mysql works fine on 1 but the second Rpi that is powerd doens't connnect to the DB.
If i shut down the working Rpi and power on the other, then this one works fine.
So it is an access problem like the log is saying.
But i just can't find the problem!
The 2 Rpi are clones so same settings (except the ip's)

Any idea? I'm getting crazy

Advancesettings:
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.15</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.15</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>


<showexitbutton>false</showexitbutton>


<fanartres>720</fanartres>
<imageres>512</imageres>


<lookandfeel>
<enablerssfeeds>false</enablerssfeeds>
</lookandfeel>
<omx>
<omxdecodestartwithvalidframe>1</omxdecodestartwithvalidframe>
</omx>

</advancedsettings>


http://pastebin.com/1hppnCZi

thx
Reply
#2
have openelec wait for network before booting into kodi
Reply
#3
can you explain this?
Reply
#4
Wait for network before starting Kodi option is here in Openelec http://wiki.openelec.tv/index.php/OpenEL...on#Network
Reply
#5
ok but i should mention that i have network connection and access to the shares since i can browse and play a movie with the file menu.
Do you stil think it's a network problem then?
I use NFS.
Reply
#6
Quote:Can't connect to MySQL server on '192.168.1.15' (101)

Quote:OS error code 101: Network is unreachable
Reply
#7
(2016-03-31, 07:50)jpcolin Wrote: ok but i should mention that i have network connection and access to the shares since i can browse and play a movie with the file menu.
Do you stil think it's a network problem then?
I use NFS.

Yep !! Smile

Totally agree with @helta. By the time you can browse, the network is up and reachable. I have exactly the same issue with my Pi (also running OE) and MySQL unless I enable the 'wait for network' option.
Learning Linux the hard way !!
Reply
#8
ok i'll try this this evening.
Thx.

I will let you know.
Reply
#9
Hi,

It seems that did the trick.
Thanks.
But strange i did not have this issue in the past.
Reply

Logout Mark Read Team Forum Stats Members Help
Openelec - Mysql - Synology sudden access problem0