PDA

View Full Version : mySQL for Slimserver?



Rich Freedman
2005-03-28, 14:20
I'm a slimserver newbee, so I apologize if this question has been asked and
answered before....

I'm using slimserver Version 6.0b1 - 2005-03-08, along with it's embedded
version of Softqueeze (eagerly awaiting shipment of my SB2), on Windows XP,
SP2. I'd like to switch slimserver over to a mySql database. I understand
that this is not officially supported, but apparently possible.

I found all of the posts about changing the slimserver.pref, (especially
http://article.gmane.org/gmane.music.equipment.slimdevices.general/24879)
and have done so, but still haven't been able to make it work.

I'm an experienced C++ and Java programmer, but almost completely unfamiliar
with perl.
That said, it seems to me that the problem is that the DBI module for
supporting mySQL (DBD:mysql) is missing.
I tracked down some info on that, but it seems that the only way to get it
is to get the source and compile it.
If I understand correctly, this is a problem because the perl environment
that is installed with slimserver is partially compiled.
Has someone already added mySql support, who can make a Windows binary
available, or must I install a full perl development environment to make
this change?
All advice is welcome.

Thanks!

-Rich Freedman

vidurapparao
2005-03-28, 14:34
Rich,

You can get the DBD::mysql package from ActiveState at
http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/DBD-mysql-2.9003.zip.

The files in blib/arch should be copied to
server/CPAN/arch/5.8/MSWin32-x86-multi-thread and those in blib/lib
should be copied to server/CPAN. This will make them available to
SlimServer.

I have not confirmed that this driver works, but I wish you luck. :-)

--Vidur

Rich Freedman wrote:

>I'm a slimserver newbee, so I apologize if this question has been asked and
>answered before....
>
>I'm using slimserver Version 6.0b1 - 2005-03-08, along with it's embedded
>version of Softqueeze (eagerly awaiting shipment of my SB2), on Windows XP,
>SP2. I'd like to switch slimserver over to a mySql database. I understand
>that this is not officially supported, but apparently possible.
>
>I found all of the posts about changing the slimserver.pref, (especially
>http://article.gmane.org/gmane.music.equipment.slimdevices.general/24879)
>and have done so, but still haven't been able to make it work.
>
>I'm an experienced C++ and Java programmer, but almost completely unfamiliar
>with perl.
>That said, it seems to me that the problem is that the DBI module for
>supporting mySQL (DBD:mysql) is missing.
>I tracked down some info on that, but it seems that the only way to get it
>is to get the source and compile it.
>If I understand correctly, this is a problem because the perl environment
>that is installed with slimserver is partially compiled.
>Has someone already added mySql support, who can make a Windows binary
>available, or must I install a full perl development environment to make
>this change?
>All advice is welcome.
>
>Thanks!
>
>-Rich Freedman
>
>
>
>
>