免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1149 | 回复: 1

mysql启动问题,谢谢大家 [复制链接]

论坛徽章:
0
发表于 2004-09-15 12:00 |显示全部楼层
solaris9安装了mysql二进制,按照下面步骤:
创建
#groupadd mysql
# useradd -g mysql mysql

gunzip
tar
解压完成
# cd  mysql-standard-4.1.3-beta-pc-solaris2.8-i386
# scripts/mysql_install_db
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 fw365 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

好像一切正常吧?
接下来:
chown -R root  ..../mysql
# chown -R mysql ......./mysql/data
#  chgrp -R mysql ......./mysql
#  chown -R root ........./mysql/bin
也一切正常,但是如何启动?
用# ./safe_mysqld &  
不行;
用bin/safe_mysqld --user=mysql &
也不行清
咋回事啊?救命啊~~~

论坛徽章:
0
发表于 2004-09-15 13:03 |显示全部楼层

mysql启动问题,谢谢大家

rpm -ivh MySQL-*
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP