Bugzilla – Bug 1931
Problem with 6.2 rev 3868 and MySQL?
Last modified: 2008-09-15 14:36:01 UTC
When attempting to start slimserver.pl, I get the error: --- !perl/YAML::Error code: YAML_LOAD_ERR_BAD_MAP_ELEMENT msg: Invalid element in map line: 105 document: 1 ... at C:/Program Files/SlimServerBeta/server/Slim/Utils/Prefs.pm line 909 ---------------------------------------------------------------------- My line 105 in slimserver.pref is: dbusername=slimserver --followed by--- dbpassword=slimserver dbsource=dbi:mysql:database=slimdata I've created the MySQL slimserver user with an "old style" password of "slimserver" and created the "slimdata" database. Has the switch to the YAML method of storing prefs broken support for MySQL??
Robert - thoughts here?
Oops. It seems to be working now. Sorry.
We need to update the docs around MySQL support to reflect the YAML way of editing the prefs file. dbusername=slimserver dbpassword=slimserver dbsource=dbi:mysql:database=slimdata These are all the way we did it before. Now it would be: dbusername: slimserver dbpassword: slimserver dbsource: dbi:mysql:database=slimdata