Kodi Community Forum
Use a pogoplug as a MySQL server for sharing libraries - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Use a pogoplug as a MySQL server for sharing libraries (/showthread.php?tid=86364)



Use a pogoplug as a MySQL server for sharing libraries - sdaconceicao - 2010-11-29

I wrote up a short tutorial on how to use a pogoplug as a MySQL server for shared libraries between multiple client machines.
http://www.stephenandrewdesigns.com/pogoplug-for-xbmc/
Can someone please move this to the How To section if it's good?


- Ned Scott - 2011-11-24

Found this on a search and added it to the XBMC Wiki for NAS MySQL instructions. Any Pogoplug users have any feedback on it, or know of any changes that would need to be made for Eden? (we can make a wiki copy to update it).


RE: Use a pogoplug as a MySQL server for sharing libraries - sdaconceicao - 2012-06-25

I've updated the directions for Eden. The only real change was that the old indices I added no longer seem necessary.
The url for the new article is at http://www.stephenandrewdesigns.com/pogoplug-for-xbmc/
The old url doesn't work because I let that domain expire.
(2011-11-24, 04:57)Ned Scott Wrote: Found this on a search and added it to the XBMC Wiki for NAS MySQL instructions. Any Pogoplug users have any feedback on it, or know of any changes that would need to be made for Eden? (we can make a wiki copy to update it).





RE: Use a pogoplug as a MySQL server for sharing libraries - Ned Scott - 2012-06-26

Awesome!


RE: Use a pogoplug as a MySQL server for sharing libraries - mrdally204 - 2012-07-29

I'm having no luck getting this to work unfortunately. I get to step 5 and I am met with an error...
Code:
[root@alarm bin]# mysql_install_db

FATAL ERROR: Could not find ./bin/my_print_defaults

If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.

If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.

Can you give me some insight as to what I can do to move on. I'd also love to be able to move over my current database from my Windows PC to the Pogoplug, along with my network shares. Any interest in doing a complete write up as I would not know where to start to accomplish this.


RE: Use a pogoplug as a MySQL server for sharing libraries - winestock - 2012-12-07

(2012-07-29, 05:08)mrdally204 Wrote: I'm having no luck getting this to work unfortunately. I get to step 5 and I am met with an error...
Code:
[root@alarm bin]# mysql_install_db

FATAL ERROR: Could not find ./bin/my_print_defaults

If you compiled from source, you need to run 'make install' to
copy the software into the correct location ready for operation.

If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.

Can you give me some insight as to what I can do to move on. I'd also love to be able to move over my current database from my Windows PC to the Pogoplug, along with my network shares. Any interest in doing a complete write up as I would not know where to start to accomplish this.

I know this is late response but I recently ran into this problem. What you have to use is:
Code:
mysql_install_db --basedir <dir>

To determine what to replace <dir> with, execute the command "whereis my_print_defaults". For me I got back "/usr/bin". So I used "mysql_install_db --basedir /usr".


RE: Use a pogoplug as a MySQL server for sharing libraries - mrdally204 - 2012-12-07

Much appreciated and I do hope this goes on to help others. For me it was more work to get running than I was willing to put into Smile seemed like a cool project and when working would make for a great little server. I actually unmodded it and gave it as a gift to a work mate. He loves his new toy, sharing family pictures all day long Smile