Hi Forum,
Is there a MySQL plugin for FreeNAS? I know many people mentioned how to install MySQL manually, but why no MySQL server plugin? Is it because of too hard to build? or just no requirement?
Thanks
Noodle
It is sort of a weird software to have on a NAS don't you think?
I don't think the demand is that high to justify the build of a plugin.
Perhaps, but MySQL is used by XBMC so that the media metadata library can be stored and accessed centrally by all XBMC clients (players). Since you typically use a NAS with XBMC, it becomes somewhat logical to have a MySQL instance running on the NAS. When you think of it like this, it's not so weird - after all, what other device on the network is guaranteed to be up at the same time as any of the other XBMC clients?
Back on topic - I thought MySQL was available as a plugin? I'm just testing 8.3-RC1 so hopefully it is as it's my intention to install MySQL so that it can service my XBMC clients (several of which will be Raspberry Pi's)...
Hi Joshua - yes, I've pieced it all together with about three different threads (in particular this one), the plugin wiki page (I'm new to FreeBSD plugins) and the mysql server ports download page, and I now have MySQL up and running on 8.3.0-RC1, all working well! :)
CREATE USER 'xbmc' IDENTIFIED BY 'xbmc'; GRANT ALL ON *.* TO 'xbmc'; (or a more secure way, if you're using the mysql database other purposes as well:) GRANT ALL ON *.* TO 'xbmc'@'192.168.1.%' IDENTIFIED BY 'xbmc'; (or whatever ip's you use)
<advancedsettings> <videodatabase> <type>mysql</type> <host>your.jail.ip.address</host> <port>3306</port> <user>xbmc</user> <pass>xbmc</pass> </videodatabase> <musicdatabase> <type>mysql</type> <host>your.jail.ip.address</host> <port>3306</port> <user>xbmc</user> <pass>xbmc</pass> </musicdatabase> </advancedsettings>
sendmail_enable="NONE" syslogd_flags="-ss" pbid_enable="YES"
echo 'mysql_enable="YES"' >>/etc/rc.conf
so i tried to add nano to my jail as i know how to use it better but get an erreor:
Plugin# pkg_add -r nano
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/Latest/nano.tbz... Done.
pkg_add: warning: package 'nano-2.2.6' requires 'libiconv-1.14', but 'libiconv-1.13.1_1' is installed