- 论坛徽章:
- 0
|
下面是我操作流程,请大家指点:
解压
1、[root@localhost home]# tar -zxvf mysql-5.5.18-linux2.6-i686.tar.gz
解压后得到
2、[root@localhost home]# ls
mysql-5.5.18-linux2.6-i686 mysql-5.5.18-linux2.6-i686.tar.gz
3、[root@localhost home]# cd mysql-5.5.18-linux2.6-i686
4、提示错误:
[root@localhost mysql-5.5.18-linux2.6-i686]# ./configure --prefix=/home/mysql
-bash: ./configure: 没有那个文件或目录
查看里面Installing文件有提示:
Nnstall and use a MySQL binary distribution, the basic command
sequence looks like this:
shell> groupadd mysql
shell> useradd -r -g mysql mysql
shell> cd /usr/local
shell> tar zxvf /path/to/mysql-VERSION-OS.tar.gz
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
# Next command is optional
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> cp support-files/mysql.server /etc/init.d/mysql.server
A more detailed version of the preceding description for
installing a binary distribution follows.
Note
看不太懂。 |
|