centos5.3 linux下mysql-5.1.38的详细安装

来源:百度知道 编辑:UC知道 时间:2024/07/01 04:54:10
install文件里:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql &
按照这个步骤,谁能给我详细的安装过程,我刚接触linux没多久,自己试了几次,还是有问题--跪求正确的答案
# tar zxvf mysql-5.1.38.tar.gz
# cd mysql-5.1.38
# ./configure --prefix=/usr/local/mysql (在安装这一步过程中,出现问题“ bash:./configure:没有那个文件或目录“)
希望大家帮忙解决!!

我放弃了。

解压的文件中好像有README或者是INSTALL的文件,里面有安装的详细步骤

/usr/local/mysql 或/usr/local 没有这个目录

mkdir /usr/local/mysql
./configure --prefix=/usr/local/mysql

make
nake install