Use a pogoplug as a MySQL server for sharing libraries

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sdaconceicao Offline
Junior Member
Posts: 22
Joined: Nov 2010
Reputation: 0
Post: #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?
(This post was last modified: 2012-06-25 21:02 by sdaconceicao.)
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 20,697
Joined: Jan 2011
Reputation: 266
Location: Arizona, USA
Post: #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).
find quote
sdaconceicao Offline
Junior Member
Posts: 22
Joined: Nov 2010
Reputation: 0
Post: #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).
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 20,697
Joined: Jan 2011
Reputation: 266
Location: Arizona, USA
Post: #4
Awesome!

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
mrdally204 Offline
Fan
Posts: 399
Joined: Nov 2010
Reputation: 2
Location: Ohio
Post: #5
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.
(This post was last modified: 2012-07-29 05:09 by mrdally204.)
find quote
winestock Offline
Fan
Posts: 442
Joined: Jan 2011
Reputation: 5
Post: #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:
[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".

XBMC Frodo 12.3, Transparency Skin (5.0.9)
PogoPlug v4 running Arm Linux 3.15 as MySQL (mariadb) and media file server for XBMC
Mac OS X 10.9.4
2011 27" iMac 3.4 GHz Quad, 16GB RAM, 1TB HD, 256GB SSD
2009 2.0GHz MacMini, 4GB RAM, 320GB HD
2009 17" Macbook Pro, 8GB RAM, 500GB HD
(This post was last modified: 2012-12-07 00:28 by winestock.)
find quote
mrdally204 Offline
Fan
Posts: 399
Joined: Nov 2010
Reputation: 2
Location: Ohio
Post: #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
find quote