免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 992 | 回复: 3
打印 上一主题 下一主题

这是什么原因啊,请大家帮忙,是不是我少了哪一步呀? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-05-14 10:53 |只看该作者 |倒序浏览
安装MYSQL4。10出现下面问题
REDHAT 7。2  ,安装在/OPT目录下面
这是什么原因啊,请大家帮忙,是不是我少了哪一步呀?

这是论谈的安装方法
#groupadd mysql
#useradd -g mysql mysql
#gunzip < mysql-VERSION.tar.gz | tar -xvf -
#cd mysql-VERSION
#./configure --prefix=/usr/local/mysql
#make
#make install
#scripts/mysql_install_db
#chown -R root /usr/local/mysql
#chown -R mysql /usr/local/mysql/var
#chgrp -R mysql /usr/local/mysql
#cp support-files/my-medium.cnf /etc/my.cnf (overwrite?-->;yes)
#/usr/local/mysql/bin/safe_mysqld --user=mysql &

做到这一步就不可以了
[root@sybase2 mysql-standard-4.1.0-alpha-pc-linux-i686]# make
make: *** No targets specified and no makefile found. Stop.

[root@sybase2 mysql-standard-4.1.0-alpha-pc-linux-i686]# make intall
make: *** No rule to make target `intall'. Stop.

论坛徽章:
0
2 [报告]
发表于 2003-05-14 11:21 |只看该作者

这是什么原因啊,请大家帮忙,是不是我少了哪一步呀?

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

你确定这一步成功了?

论坛徽章:
0
3 [报告]
发表于 2003-05-14 11:39 |只看该作者

这是什么原因啊,请大家帮忙,是不是我少了哪一步呀?

做。/ configure --prefix=/usr/local/mysql时出现以下信息。

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing privilege tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h sybase2 password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@sybase2 mysql]#
[root@sybase2 mysql]# Starting mysqld daemon with databases from /opt/mysql/data
030514 03:37:28  mysqld ended

论坛徽章:
0
4 [报告]
发表于 2003-05-14 12:51 |只看该作者

这是什么原因啊,请大家帮忙,是不是我少了哪一步呀?

NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

已经说的很清楚了。这个是不用编译的版本,直接就可以用了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP