喜悦国际村 
» 游客:  注册 | 登录 | 搜索 | 统计 | 帮助

RSS 订阅当前论坛  

喜悦证交所已经关闭

上一主题 下一主题
     
标题: 关于linux上装mysql时出的问题  
 
yiyamzen (yiyamzen)
中级会员
Rank: 3Rank: 3
中级会员



UID 63892
精华 0
积分 493
帖子 359
金钱 493 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2005-4-1
状态 离线
关于linux上装mysql时出的问题

关于linux上装mysql时出的问题

过程如下,不知那儿错了..好像没有权限,可又不知怎么改..
请各位帮忙看一下,先谢了~

[root@localhost mysql-5.0.22]# ls

bin        docs               lib         scripts        tests

configure  EXCEPTIONS-CLIENT  man         share

COPYING    include            mysql-test  sql-bench

data       INSTALL-BINARY     README      support-files

[root@localhost mysql-5.0.22]# ./configure --prefix=/usr/local/mysql --sysconfdir=/etc --localstatedir=/var/lib/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 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 http://shop.mysql.com

Starting the mysqld server.  You can test that it is up and running

with the command:
./bin/mysqladmin version

[root@localhost mysql-5.0.22]# chown: ‘mysql’: 无效的用户

Starting mysqld daemon with databases from /root/mysql-5.0.22/data

STOPPING server from pid file /root/mysql-5.0.22/data/localhost.localdomain.pid

060614 20:40:41  mysqld ended
2006-6-14 09:32 PM#1
查看资料  发短消息  顶部
 
duketang (duketang)
版主
Rank: 7Rank: 7Rank: 7
无聊的老亮


UID 18398
精华 3
积分 84
帖子 1646
金钱 54 喜悦币
威望 30
人脉 0
阅读权限 100
注册 2003-2-17
来自 沈阳->北京->沈阳-> ...
状态 离线
[推荐阅读] 广州中国红 诚邀php高手
这是编译后的版本 你看安装帮助文件 操作就可以
2006-6-15 09:20 AM#2
查看资料  Blog  发短消息  QQ . .   顶部
 
yiyamzen (yiyamzen)
中级会员
Rank: 3Rank: 3
中级会员



UID 63892
精华 0
积分 493
帖子 359
金钱 493 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2005-4-1
状态 离线
[推荐阅读] 怎么发送cookie的域?
回复 #2 duketang 的帖子

哦~谢谢版主
2006-6-15 09:25 PM#3
查看资料  发短消息  顶部
     


  可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题 | 开通个人空间  


 




Powered by Discuz! 6.1.0  © 2001-2010 Comsenz Inc.
Processed in 0.024644 second(s), 6 queries

(冀ICP备05009913号) 管理员:sadly 邮箱/MSN: sadly@phpx.com QQ:824008(长隐) 清除 Cookies - - Archiver - WAP