[SOLVED] Win 8 Shell Start - No SQL (backend) -Frodo
#1
Hello All -

I'm trying to start XMBC as a shell with the gpedit.msc entry, however when I do it is unable to connect to the backend. Anyone else figure out how to sort this? Standard logon runs without issue.

I confirmed network availability, I am able to ping the backend when starting in shell as well as telnet to the 3306 port.



Snipit from log shows:

12:16:34 T:2344 NOTICE: -----------------------------------------------------------------------
12:16:34 T:2344 NOTICE: Starting XBMC (12.0 Git:20130127-fb595f2), Platform: Windows 8 64-bit, build 9200. Built on Jan 28 2013 (compiler 1600)
12:16:34 T:2344 NOTICE: Intel® Core™ i3-3217U CPU @ 1.80GHz
12:16:34 T:2344 NOTICE: Desktop Resolution: 1920x1080 32Bit at 59Hz
12:16:34 T:2344 NOTICE: Running with restricted rights
12:16:34 T:2344 NOTICE: Aero is enabled
12:16:34 T:2344 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
12:16:34 T:2344 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
12:16:34 T:2344 NOTICE: special://masterprofile/ is mapped to: C:\Users\Mark\AppData\Roaming\XBMC\userdata
12:16:34 T:2344 NOTICE: special://home/ is mapped to: C:\Users\Mark\AppData\Roaming\XBMC\
12:16:34 T:2344 NOTICE: special://temp/ is mapped to: C:\Users\Mark\AppData\Roaming\XBMC\cache
12:16:34 T:2344 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
12:16:34 T:2344 NOTICE: Local hostname: HTPC-Bed
12:16:34 T:2344 NOTICE: Log File is located: C:\Users\Mark\AppData\Roaming\XBMC\xbmc.log
12:16:34 T:2344 NOTICE: -----------------------------------------------------------------------
12:16:34 T:2344 NOTICE: Enumerated DirectSound devices:
12:16:34 T:2344 NOTICE: Device 1
12:16:34 T:2344 NOTICE: m_deviceName : {64067598-15F3-41E6-B130-CD33648A8AD9}
12:16:34 T:2344 NOTICE: m_displayName : HDMI - SHARP HDMI (Intel® Display Audio)
12:16:34 T:2344 NOTICE: m_displayNameExtra: DirectSound: SHARP HDMI (Intel® Display Audio)
12:16:34 T:2344 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
12:16:34 T:2344 NOTICE: m_channels : FL,FR
12:16:34 T:2344 NOTICE: m_sampleRates : 48000
12:16:34 T:2344 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3
12:16:34 T:2344 NOTICE: Enumerated WASAPI devices:
12:16:34 T:2344 NOTICE: Device 1
12:16:34 T:2344 NOTICE: m_deviceName : {64067598-15F3-41E6-B130-CD33648A8AD9}
12:16:34 T:2344 NOTICE: m_displayName : HDMI - SHARP HDMI (Intel® Display Audio)
12:16:34 T:2344 NOTICE: m_displayNameExtra: WASAPI: SHARP HDMI (Intel® Display Audio)
12:16:34 T:2344 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
12:16:34 T:2344 NOTICE: m_channels : FL,FR
12:16:34 T:2344 NOTICE: m_sampleRates : 48000,44100,32000
12:16:34 T:2344 NOTICE: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S24LE4,AE_FMT_S24BE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
12:16:34 T:2344 NOTICE: load settings...
12:16:34 T:2344 NOTICE: special://profile/ is mapped to: special://masterprofile/
12:16:34 T:2344 NOTICE: loading special://masterprofile/guisettings.xml
12:16:34 T:2344 NOTICE: Getting hardware information now...
12:16:34 T:2344 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
12:16:34 T:2344 NOTICE: Loaded playercorefactory configuration
12:16:34 T:2344 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
12:16:34 T:2344 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
12:16:34 T:2344 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
12:16:34 T:2344 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
12:16:34 T:2344 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.11</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.11</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
<substitute>
<from>special://profile/playlists/</from>
<to>smb://DISKSTATION/XMBC/Playlists/</to>
</substitute>
<substitute>
<from>special://profile/sources.xml</from>
<to>smb://DISKSTATION/XMBC/Sources/sources.xml</to>
</substitute>
<substitute>
<from>special://profile/mediasources.xml</from>
<to>smb://DISKSTATION/XMBC/Sources/mediasources.xml</to>
</substitute>
<substitute>
<from>special://profile/favourites.xml</from>
<to>smb://DISKSTATION/XMBC/Favourites/favourites.xml</to>
</substitute>
</advancedsettings>
12:16:34 T:2344 WARNING: VIDEO database configuration is experimental.
12:16:34 T:2344 NOTICE: Getting hardware information now...
12:16:34 T:2344 NOTICE: Default DVD Player: dvdplayer
12:16:34 T:2344 NOTICE: Default Video Player: dvdplayer
12:16:34 T:2344 NOTICE: Default Audio Player: paplayer
12:16:34 T:2344 NOTICE: Disabled debug logging due to GUI setting. Level 0.
12:16:34 T:2344 NOTICE: Log level changed to 0
12:16:34 T:2344 NOTICE: Loading media sources from special://masterprofile/sources.xml
12:16:34 T:3024 NOTICE: Thread CSoftAE start, auto delete: false
12:16:34 T:2344 NOTICE: Running database version Addons15
12:16:34 T:2460 NOTICE: Thread CRemoteControl start, auto delete: false
12:16:34 T:2504 NOTICE: Thread XBMC Peripherals start, auto delete: false
12:16:34 T:2344 NOTICE: Found screen: Generic PnP Monitor on Intel® HD Graphics 4000, adapter 0.
12:16:34 T:2344 NOTICE: Primary mode: 1920x1080 @ 59.94 - Full Screen
12:16:34 T:2344 NOTICE: Additional mode: 320x200 @ 23.98 - Full Screen
12:16:34 T:2344 NOTICE: Additional mode: 320x200 @ 24.00 - Full Screen
12:16:34 T:2344 NOTICE: Additional mode: 320x200 @ 23.98 - Full Screen
12:16:34 T:2344 NOTICE: Additional mode: 320x200 @ 24.00 - Full Screen
.... edit for brevity
....
12:16:34 T:2344 NOTICE: Checking resolution 16
12:16:35 T:2344 NOTICE: Running database version Addons15
12:16:35 T:2344 NOTICE: Running database version ViewModes4
12:16:35 T:2344 NOTICE: Running database version Textures13
12:16:35 T:2344 ERROR: Unable to open database: MyMusic32 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic31 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic30 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic29 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic28 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic27 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic26 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic25 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic24 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic23 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic22 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic21 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic20 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
12:16:35 T:2344 ERROR: Unable to open database: MyMusic19 [2003](Can't connect to MySQL server on '192.168.1.11' (10051))
Reply
#2
HI.
I have the same issue,
What was your solution?
Thank you
Reply
#3
Oddly I've posted my solution (including this attempt 3 times)...

The solution was to add a delay to XBMC startup, however doing so with the -d startup delay wasn't working for me. A 4 second delay was exceedingly longer than 4 secs. I opted to allow EventGhost to delay the start of XBMC after logon / startup.

Reply
#4
Ok, Thank you.
I went back to Windows 7, so good old faithful worked as well Smile
Reply
#5
FWIW - Win 8 changes the start order of services / drivers / devices basis an algorithm designed to bring you to a desktop quickly ("improved user experience") while the system catches up. On some newer processors / systems the boot time is frankly impressive. Depending on what you are going to do with the system, any lag in startup drivers is hardly noticed.

In kiosk / shell mode, I'm guessing this algorithm is still in play, however the user has now tasked the device with a psuedo-single purpose. Additionally, bypassing the Win 8 tile screen only makes this condition more prevelant.

I mention this additional information because users may find that when using Windows 8, a necessary delay today of "4 secs" (in my case) may actually change as this algorithm resorts startup order. I'm just hoping I remember this too in 4 months when it happens.

Reply
#6
I fixed it by using DHCP instead of assigning a static IP. Maybe it adds a sec to boot time.....
Reply

Logout Mark Read Team Forum Stats Members Help
[SOLVED] Win 8 Shell Start - No SQL (backend) -Frodo 0