I’m not sure about xbmc but does it requires php to work with mysql? Not just direct tcp:3306? You’ll face lots of dependency issues trying to install php-mysql.
If I get you correctly you mentioned earlier you already have mysql installed and created the password. Was the mysql-server installation successful? If you happen to install mysql-client try “mysql -u root -p” and login to access your tables. Else try install some other webui such as phpmyadmin to access your mysqld. It should be running “ps -ef | grep mysql” by default on port 3306.
I’m on firmware v4 now with mysql 5.5.38 but I think I had a hard time installing mysql on firmware v3 due to dependencies…
Note that php-mysql below needs apache2 and php5 to be upgraded or you’ll break WD’s DashBoard:
“dpkg: warning: files list file for package ‘libpam-winbind:armhf’ missing; assuming package has no files currently installed”
…
…
The errors that you’re seeing above is normal when you try to “apt-get install” on this device because the packages has been modified by WD. It’s safe to ignore as long you didn’t remove/upgrade anything during the installations.
BUT the main “problem” is now you’re on firmware V4. You will not be able to use “apt-get install” successfully due to V4’s 64K memory page size. You’ll need to rebuild the debs patched with this new V4 requirement. See this thread for more info: [GUIDE] Building packages for the new firmware… someone tried it?
Doing a restore from WD’s Dashboard settings will not fix this, you’ll need to reflash the firmware. Download the V4 firmware manually and upgrade it from the Dashboard settings. It will not wipe your shared backups. If after the upgrade you see WD Dashboard acting weirdly, go to the settings again and do a “system” only restore. This will also preserve your shared backups.
I have MySQL installed on V4 but only after going through all the rebuild hassle. I would advise if you really want to have MySQL installed, downgrade to V3 to be able to use “apt-get install”. There’s two method, modify the upgrade script or the version file. Search this forum for details.
Thank you for the very detailed explanation of what is going on - very much appreciate the time you put into that response.
Building from source on another machine is likely over my head - it seems like the easiest thing to do would be to downgrade to version 3 of the firmware then install mysql.
However - If I am understanding properly - upgrading to firmware 4 would then break my installation of mysql because it hasn’t been compiled with the proper options.
Building from source is not something I would want to undertake. Too many steps for me to go wrong.
Seems like a pretty weird decision to handicap the hardware like this in version 4. Is this something that is likely to change in the future?
No problem. If you read the thread link I posted from the very 1st post, try to understand and follow the steps given, you should have at least be able to build those simple deb like htop.
I’m afraid nothing will change in the future. WD seems to keep it this way. I haven’t installed the latest V4 released few days back but I did download and pull out the img file. It has the same 64k page size memory builds
Using large pages instead of the default 64K page size can improve application performance. The performance improvement of using large pages is a result of a more efficient use of the hardware translation caches which are used when translating application page addresses to physical page addresses. Applications that are frequently accessing a fast amount of memory benefit most from using pages sizes that are larger than 64K.
I presume this means they won’t go back on their decision, as the hardware is designed for a very specific purpose and not designed to run third party applications on. From their point of view breaking compatibility with 3rd party apps is likely a non-issue.
I’m using the ‘Western Digital MyCloud 4tb’ as NAS server for my movie collection. I use XBMC/Kodi to control them. Now i would like to have XBMC/Kodi to synchronize with other computers. For that i have to install MySQL and phpMyAdmin on my WD MyCloud. Here starts a lot of trobble for me, I’m a computer amature and i can get it started. Is there someone who is so kind to explane to me step by step what i must do to get MySQL and phpMyAdmin installed on my WD MyCloud? The firmware is v04.01.02-417 so if i understand it correctly i have to downgrade it. Please help me out here. Thanks in advanced!