- 论坛徽章:
- 0
|
solaris9安装了mysql二进制,按照下面步骤: \r\n创建 \r\n#groupadd mysql \r\n# useradd -g mysql mysql \r\n\r\ngunzip \r\ntar \r\n解压完成 \r\n# cd mysql-standard-4.1.3-beta-pc-solaris2.8-i386 \r\n# scripts/mysql_install_db \r\nInstalling all prepared tables \r\nFill help tables \r\n\r\nTo start mysqld at boot time you have to copy support-files/mysql.server \r\nto the right place for your system \r\n\r\nPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! \r\nTo do so, start the server, then issue the following commands: \r\n./bin/mysqladmin -u root password \'new-password\' \r\n./bin/mysqladmin -u root -h fw365 password \'new-password\' \r\nSee the manual for more instructions. \r\n\r\nYou can start the MySQL daemon with: \r\ncd . ; ./bin/mysqld_safe & \r\n\r\nYou can test the MySQL daemon with the benchmarks in the \'sql-bench\' directory: \r\ncd sql-bench ; perl run-all-tests \r\n\r\nPlease report any problems with the ./bin/mysqlbug script! \r\n\r\nThe latest information about MySQL is available on the web at \r\nhttp://www.mysql.com \r\nSupport MySQL by buying support/licenses at https://order.mysql.com \r\n\r\n好像一切正常吧? \r\n接下来: \r\nchown -R root ..../mysql \r\n# chown -R mysql ......./mysql/data \r\n# chgrp -R mysql ......./mysql \r\n# chown -R root ........./mysql/bin \r\n也一切正常,但是如何启动? \r\n用# ./safe_mysqld & \r\n不行; \r\n用bin/safe_mysqld --user=mysql & \r\n也不行清 \r\n咋回事啊?救命啊~~~ |
|