LinuxSir.cn,穿越时空的Linuxsir!

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

问:关于在红帽AS3上安装MYSQL的问题

[复制链接]
发表于 2005-2-7 23:11:40 | 显示全部楼层 |阅读模式
我把AS自带的MYSQL删除掉了
重新下载的源代码包进行安装
不过第一步就遇到了问题
请大家帮我看一看
[root@localhost root]# ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/var
-bash: ./configure: No such file or directory
[root@localhost root]# cd /usr/local/mysql-standard-5.0.2-alpha-pc-linux-i686/
[root@localhost mysql-standard-5.0.2-alpha-pc-linux-i686]# ./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/var
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
041121 7:14:42 [Warning] Asked for 196608 thread stack, but got 126976
Fill help tables
041121 7:14:42 [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 localhost.localdomain 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@localhost mysql-standard-5.0.2-alpha-pc-linux-i686]# A mysqld process already exists
[root@localhost mysql-standard-5.0.2-alpha-pc-linux-i686]#
谢谢大家了
发表于 2005-2-7 23:20:58 | 显示全部楼层
为什么要删除?把mysql-server的包装上就行了啊!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-7 23:26:04 | 显示全部楼层
有些参数需要更改
所以就要重新安装它啊
回复 支持 反对

使用道具 举报

发表于 2005-2-8 15:15:43 | 显示全部楼层
建议最好在当初装系统的时候就别选它带的MySQL.....
我有一次升级装MySQL,弄的怎么都连不上去,卸也卸不干净的~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-8 15:25:02 | 显示全部楼层
就当做是一次学习吧


其它兄弟有没有办法啊
回复 支持 反对

使用道具 举报

发表于 2005-2-8 15:37:48 | 显示全部楼层
A mysqld process already exists
??


停止服务
卸载mysql
安装mysql
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-9 01:41:57 | 显示全部楼层
兄弟我在安装源代码包之前已经把系统上自带的MYSQL删除掉了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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