LinuxSir.cn,穿越时空的Linuxsir!

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

mysql的安装问题

[复制链接]
发表于 2005-5-31 11:38:13 | 显示全部楼层 |阅读模式
想安装mysql,下载了mysql-standard-4.1.12-pc-linux-gnu-i686.tar.gz
解压后./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
Fill help 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 !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h ocean 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@ocean mysql-standard-4.1.12-pc-linux-gnu-i686]# Starting mysqld daemon with databases from /root/mysql-standard-4.1.12-pc-linux-gnu-i686/data
STOPPING server from pid file /root/mysql-standard-4.1.12-pc-linux-gnu-i686/data/ocean.pid
050531 11:23:52  mysqld ended


请问各位大侠 怎么解决啊
发表于 2005-12-10 23:01:19 | 显示全部楼层
为什么该论坛没有MYSQL的问题贴精选哦?

??????????????????????
回复 支持 反对

使用道具 举报

发表于 2005-12-10 23:24:28 | 显示全部楼层
你下载的是编译好的二进制包呀。
启动不了可能是var的权限问题,另外,你初始化数据库了没有?
回复 支持 反对

使用道具 举报

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

本版积分规则

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