LinuxSir.cn,穿越时空的Linuxsir!

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

安装MYSQL时候出错了,谁能帮帮我?

[复制链接]
发表于 2005-3-12 02:24:37 | 显示全部楼层 |阅读模式
./configure --prefix=/opt/mysql --with-mysqld-user=cityman --with-charset=gb2312 --with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.sock

./bin/mysqladmin version
[root@localhost sql]# chown: ‘mysql’: 无效的用户
A mysqld process already exists


--with-mysqld-user=cityman(这个用户名是我一装好系统后的第一个账号)
 楼主| 发表于 2005-3-12 12:38:31 | 显示全部楼层
现在无效的用户问题解决了。但是又新出问题了。
[root@localhost mysql-standard-5.0.2-alpha-pc-linux-i686]# ./configure --prefix=/opt/mysql --with-mysqld-user=mysql --with-charset=gb2312
--with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.soc
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
050312 12:04:57 [Warning] Asked for 196608 thread stack, but got 126976
Fill help tables
050312 12:04:59 [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.

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]# Starting mysqld daemon with databases from /tmp/php/mysql-standard-5.0.2-alpha-pc-linux-i686/data
STOPPING server from pid file /tmp/php/mysql-standard-5.0.2-alpha-pc-linux-i686/data/localhost.localdomain.pid
050312 12:05:02  mysqld ended
这个是什么意思?
回复 支持 反对

使用道具 举报

发表于 2005-3-12 13:57:51 | 显示全部楼层
嗯 。。我也出现同样的问题。。。。 是不是刚在 mysql里下的最新版...
里面没有makefile... make 不了。。当然也 make install不了。。。
./configure 会告诉你  
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-12 14:06:40 | 显示全部楼层
我还没到make啊!~
好像是这个文件执行出错吧?
STOPPING server from pid file /tmp/php/mysql-standard-5.0.2-alpha-pc-linux-i686/data/localhost.localdomain.pid
回复 支持 反对

使用道具 举报

发表于 2005-3-12 15:18:31 | 显示全部楼层
NOTE: This is a MySQL binary distribution

直接运行版本,不需要安装!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-13 01:42:57 | 显示全部楼层
喔!~~
原来是这样的。谢谢大哥!
回复 支持 反对

使用道具 举报

发表于 2005-3-13 11:33:23 | 显示全部楼层
我装了那么多的MYSQL从没这么麻烦过
回复 支持 反对

使用道具 举报

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

本版积分规则

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