diff options
author | Juergen Daubert <jue@jue.li> | 2009-06-13 23:15:46 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2009-06-13 23:15:46 +0200 |
commit | 8576536d44d66528e8a945d1ecef8577afd8dacf (patch) | |
tree | 0838a978f1f780c86d8d8c8ba3e5d43a4a09b17e /mysql/pre-install | |
parent | 1a6a735ac7954ec9650d0ef199808be2113610da (diff) | |
download | opt-8576536d44d66528e8a945d1ecef8577afd8dacf.tar.gz opt-8576536d44d66528e8a945d1ecef8577afd8dacf.tar.xz |
mysql: update to 5.1.35
Diffstat (limited to 'mysql/pre-install')
-rw-r--r-- | mysql/pre-install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql/pre-install b/mysql/pre-install new file mode 100644 index 000000000..f856e4005 --- /dev/null +++ b/mysql/pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +getent group mysql || /usr/sbin/groupadd -g 46 mysql +getent passwd mysql || /usr/sbin/useradd -g mysql -u 46 -d /var/lib/mysql -s /bin/false mysql +/usr/bin/passwd -l mysql + |