Thread Rating:
  • 2 Vote(s) - 3.5 Average
Use a pogoplug as a MySQL server for sharing libraries
#1
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?
Reply
#2
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).
Reply
#3
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).


Stephen Andrew Designs
http://www.stephenandrewdesigns.com
Reply
#4
Awesome!
Reply
#5
I'm having no luck getting this to work unfortunately. I get to step 5 and I am met with an error...
Code:
[[email protected] 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.
Reply
#6
(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:
[[email protected] 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".
Kodi 17, Transparency Skin
PogoPlug v4 running Arm Linux 4.4.63 as MySQL (mariadb) server.
Mac OS 10.12.5
2015 27" iMac 3.3 GHz Quad, 16GB RAM, 1TB SSD
2015 13" Macbook Pro, 8GB RAM, 256GB SSD
AppleTV 4 TV OS 10
Reply
#7
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
Reply



Use a pogoplug as a MySQL server for sharing libraries3.52