mysql: added /etc/ld.so.conf.d/mysql.conf

This commit is contained in:
Juergen Daubert 2008-10-23 11:52:18 +02:00
parent 7cad0a8dde
commit fdc07b22fe
3 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,6 @@
drwxr-xr-x root/root etc/ drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/ld.so.conf.d/
-rw-r--r-- root/root etc/ld.so.conf.d/mysql.conf
-rw------- root/root etc/my.cnf -rw------- root/root etc/my.cnf
drwxr-xr-x root/root etc/rc.d/ drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/mysqld -rwxr-xr-x root/root etc/rc.d/mysqld

View File

@ -5,7 +5,7 @@
name=mysql name=mysql
version=5.0.67 version=5.0.67
release=1 release=2
source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.0/$name-$version.tar.gz \ source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.0/$name-$version.tar.gz \
my.cnf mysqld) my.cnf mysqld)
@ -37,4 +37,7 @@ build () {
install -d -m 700 -o daemon -g daemon $PKG/var/lib/mysql install -d -m 700 -o daemon -g daemon $PKG/var/lib/mysql
install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld
install -m 600 $SRC/my.cnf $PKG/etc install -m 600 $SRC/my.cnf $PKG/etc
install -d $PKG/etc/ld.so.conf.d
echo "/usr/lib/mysql" > $PKG/etc/ld.so.conf.d/mysql.conf
} }

View File

@ -5,13 +5,12 @@ REQUIREMENTS
PRE-INSTALL PRE-INSTALL
POST-INSTALL POST-INSTALL
1. append /usr/lib/mysql to ld.so.conf and run ldconfig 1. run 'mysql_install_db' to build the system database
2. run 'mysql_install_db' to build the system database
in /var/lib/mysql in /var/lib/mysql
3. run 'mysql_upgrade' to add new privileges and features 2. run 'mysql_upgrade' to add new privileges and features
to the MySQL privilege tables if you have 4.x or 3.x to the MySQL privilege tables if you have 4.x or 3.x
databases databases
4. Set a password for the mysql root user: 3. Set a password for the mysql root user:
mysqladmin -u root password <mysql_root_password> mysqladmin -u root password <mysql_root_password>
PRECAUTION PRECAUTION