QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 582|回复: 4

请帮我看看mysql

[复制链接]
发表于 2004-1-15 19:54:36 | 显示全部楼层 |阅读模式
本人DOWNLOAD了mysql-standard-5.0.0-alpha-pc-linux-i686.tar.gz,然后安装,步骤如下:
1: tar -xzvf mysql-standard-5.0.0-alpha-pc-linux-i686.tar.gz -C /mysql
2: cd mysql/mysql-standard-5.0.0-alpha-pc-linux-i686
3:./configure --prefix=/mysql
执行到此,问题出现了./configure 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

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 my.com 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@my mysql-standard-5.0.0-alpha-pc-linux-i686]# Starting mysqld daemon with
databases from /lhb/mysql-standard-5.0.0-alpha-pc-linux-i686/data
040115 19:17:01 mysqld ended


大概意思我知道就说不用编译了,此软件已经运行.我是新手,我装的是LINUX9.0
如果这个版本默认带了MYSQL的话,那程序在哪里,该怎么样运行.如果真有话,怎么样才能卸掉,我试过"rpm -e mysql" ,问题又来了
#rpm -e mysql
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12
libmysqlclient.so.10 is needed by (installed) mysql-server-3.23.54a-11
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3
libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17
mysql = 3.23.54a is needed by (installed) mysql-server-3.23.54a-11


望各位斑竹,高手指教,小弟谢先了
发表于 2004-1-16 00:54:44 | 显示全部楼层
我用iso直接安装apache和mysql,成功了,你也可以试试:)
回复

使用道具 举报

发表于 2004-1-17 09:41:00 | 显示全部楼层
rpm -e卸载mysql的时候,需要先卸载mysqlclient,mysqldevel等,最后才卸载mysqlserver。
没有用过mysql5,执行文件可以到该目录下的bin或者share/mysql/去看看,是否有一个mysql.server的文件?如果有,就用/path/mysql/share/mysql/mysql.server start|stop来启动mysql。
回复

使用道具 举报

 楼主| 发表于 2004-1-17 19:20:50 | 显示全部楼层
谢谢了,我试试去,
回复

使用道具 举报

 楼主| 发表于 2004-1-17 19:44:40 | 显示全部楼层
我用rpm -qa mysql查询是否有装过mysql时
系统找到了:mysql-3.23.54a-11..
请问在下该怎样将其卸掉.谢谢了.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-15 06:02 , Processed in 0.090843 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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