mysql启动问题,谢谢大家

weixin_38048154 2004-09-15 12:27:06

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 &
也不行清
咋回事啊?救命啊~~~
...全文
17 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复

477

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧