- 论坛徽章:
- 0
|
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 &
也不行清
咋回事啊?救命啊~~~ |
|