LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 674|回复: 7

我快崩溃了!!求助mysql的安装问题!!

[复制链接]
发表于 2004-11-19 08:27:53 | 显示全部楼层 |阅读模式
我按照网上的教程用源码安装mysql时用./configure --prefix= /usr/local/mysql 后在/usr/local/mysql一个文件都没有,这是怎么回事呀?下面是我的返回信息

[root@afu-linux mysql-standard-4.1.5-gamma-pc-linux-i686]# ./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 all prepared tables
041119  8:25:35  [WARNING] Asked for 196608 thread stack, but got 126976
Fill help tables
041119  8:25:35  [WARNING] Asked for 196608 thread stack, but got 126976

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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h afu-linux 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@afu-linux mysql-standard-4.1.5-gamma-pc-linux-i686]# Starting mysqld daemo n with databases from /home/src/mysql-standard-4.1.5-gamma-pc-linux-i686/data
STOPPING server from pid file /home/src/mysql-standard-4.1.5-gamma-pc-linux-i686 /data/afu-linux.pid
041119 08:25:36  mysqld ended

[root@afu-linux mysql-standard-4.1.5-gamma-pc-linux-i686]#
发表于 2004-11-19 09:31:14 | 显示全部楼层
你的文件下载错了
 楼主| 发表于 2004-11-19 09:57:11 | 显示全部楼层
啊??!!!那要下哪个版本的呢??说得具体点呀,拜托了!!
发表于 2004-11-19 10:49:56 | 显示全部楼层
你的机器原来装过Mysql吧?
看INSTALL文件,按照其中的步骤就不会错!
实在不行装rpm版的!
发表于 2004-11-19 11:34:10 | 显示全部楼层
It's ready to run, you don't
need to configure it!

先把你自带的MYSQL挺掉.
发表于 2004-11-19 17:02:45 | 显示全部楼层
说的都不对呀,楼主下的是二进制包,不需要再编译了,直接安装就行了。
发表于 2004-11-19 19:01:18 | 显示全部楼层
最初由 gorf 发表
说的都不对呀,楼主下的是二进制包,不需要再编译了,直接安装就行了。

同意,看法。
首先。你会不会运行msyql 怎么运行?
ps aux |grep mysqld
看有没有进程。
只看你编译,没看你安装。
在你的/usr/local/mysql 目录下是否有bin  include  info  lib  libexec  man  mysql-test  share  sql-bench  var这些文件夹。 启动命令在bin下。
启动服务器命令为mysqld_safe & 进入./mysql
发表于 2004-11-21 14:30:07 | 显示全部楼层

恩,对的

我以前也用过,是可以直接执行的,在下面敲./mysql然后ps ax|grep mysql可以看到很多进程
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表