Version 5 Development > Plugin Design
mysql 5.1.56 Plugin for unRAID 5b11+
SeeDrs:
mysql 5.1.56 Plugin
Includes screen, which is used when starting the service from the web gui to stop it form hanging.
Download available on unRAID 5 Plugins Page. http://lime-technology.com/wiki/index.php?title=UnRAID_Plugins
Copy to /boot/config/plugins and reboot or run "installplg /boot/config/plugins/mysql-5.1.66-i468-4atv.plg"
Icon located under the settings tab in network services
Updates:
Oct 7, 2011 - Fixes permissions issues during install. root password is hard coded to root for the initial install.
Oct 10, 2011 - Rewrite bash apply script into php. This eliminated the requirements for screen when starting the mysql service. Also implimented some loggong.
Oct 27, 2011 - If my.cf exist in /boot/config/plugins/mysql, it will be copied to /etc and used instead of using /etc/my-medium.cnf
Oct 29, 2011 - Corrected typo. my.cf should be my.cnf for custom config
SeeDrs
prostuff1:
--- Quote from: SeeDrs on October 05, 2011, 03:25:19 PM ---mysql 5.1.56 Plugin
Includes screen, which is used when starting the service from the web gui to stop it form hanging.
Remove the .txt extension, copy to /boot/config/plugins and reboot or run "installplg /boot/config/plugins/mysql-5.1.66-i468-1a.plg"
Icon located under the settings tab in network services
SeeDrs
--- End quote ---
Just a note and something I would like to see...
Make screen its own .plg
Something like screen can be used by many different reasons so making it its own package makes sense. I have started taking this approach with my unMenu packages and while it makes for for .conf files it is a much better approach.
SeeDrs:
Reason why I keep it in the package is to ensure that screen is installed before running or starting the plugin. I think that plug-ins install in alphabetical order, so that means mysql would install before screen causing potential issues.
I do have a screen plugin that I made before making the mysql plug-in. I'll post that right now for users who want screen only.
A solution to that problem could be solved by having a central repository to store plug-ins, that way if a plugin is dependent on another one it could download it from the repository if it does exist then install it. This would ensure that dependent plug-ins are install first.
ajax3712:
SeeDrs,
Thank you for this plugin. This is the very first one I'm trying to use :)...
I installed the plugin using "installplg" since I wanted to avoid a restart. However, after supplying the data directory (/mnt/cache/_mysql) and a password and then turning it on, I attempted to connect to mysql using (I'm trying to follow the instructions to centralize my xmbc library).
--- Code: ---mysql -u root -p
--- End code ---
Unfortunately, I'm getting a can't connect error:
--- Code: ---Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
--- End code ---
Any ideas? I'm running 5.0b12a and connecting via Terminal in Mac OS X Lion.
Thanks!
SeeDrs:
--- Quote from: ajax3712 on October 07, 2011, 09:06:15 AM ---SeeDrs,
Thank you for this plugin. This is the very first one I'm trying to use :)...
I installed the plugin using "installplg" since I wanted to avoid a restart. However, after supplying the data directory (/mnt/cache/_mysql) and a password and then turning it on, I attempted to connect to mysql using (I'm trying to follow the instructions to centralize my xmbc library).
--- Code: ---mysql -u root -p
--- End code ---
Unfortunately, I'm getting a can't connect error:
--- Code: ---Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
--- End code ---
Any ideas? I'm running 5.0b12a and connecting via Terminal in Mac OS X Lion.
Thanks!
--- End quote ---
Under the settings screen for mysql does it say it is running? I've attached a screenshot of mine. If it doesn't say it is running ensure that Enable mysql is set to Yes and click apply. If it is still not running after that, post the contest of the [yoruservername].err file located in the mysql data directory you specified.
Navigation
[0] Message Index
[#] Next page
Go to full version