Xxv
Aus VDR Wiki
(Unterschied zwischen Versionen)
(→Links) |
(→Installation) |
||
| Zeile 11: | Zeile 11: | ||
==Installation== | ==Installation== | ||
| + | <pre> | ||
| + | tar xvzf mysql-<VERSION>.tar.gz | ||
| + | ./configure --prefix=/usr/local \ | ||
| + | --libexecdir=/usr/local/bin \ | ||
| + | --without-extra-tools \ | ||
| + | --without-bench | ||
| + | make | ||
| + | make install | ||
| + | find . -name my-medium.cnf -exec cp --backup=t \{} /etc/my.cnf \; | ||
| + | cd /usr/local/lib | ||
| + | ln -s mysql/libmysqlclient.so* . | ||
| + | groupadd mysql | ||
| + | useradd -g mysql mysql | ||
| + | chown -R mysql var | ||
| + | mysql_install_db --user=mysql & | ||
| + | ldconfig | ||
| + | </pre> | ||
| + | |||
| + | Starten des Servers mit. | ||
| + | |||
| + | <pre> | ||
| + | mysqld_safe --user=mysql & | ||
| + | </pre> | ||
| + | |||
==Probleme== | ==Probleme== | ||
==Links== | ==Links== | ||
Version vom 29. Dezember 2004, 21:21 Uhr
Inhaltsverzeichnis |
Beschreibung
Softwareanforderungen
- mysql-server
- perl
- DBI
- DBD::mysql
- Event
- Test::Simple
- telnet-server
- mplayer (optional)
Installation
tar xvzf mysql-<VERSION>.tar.gz
./configure --prefix=/usr/local \
--libexecdir=/usr/local/bin \
--without-extra-tools \
--without-bench
make
make install
find . -name my-medium.cnf -exec cp --backup=t \{} /etc/my.cnf \;
cd /usr/local/lib
ln -s mysql/libmysqlclient.so* .
groupadd mysql
useradd -g mysql mysql
chown -R mysql var
mysql_install_db --user=mysql &
ldconfig
Starten des Servers mit.
mysqld_safe --user=mysql &
Probleme
Links
| [1] | http://www.mysql.org | mySQL |
| [1] | http://xpix.dieserver.de/content | Homepage |