Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

freebsd安装mysql出现如下错误

[复制链接]
linjiarong1004 发表于 2005-12-27 14:46:50 | 显示全部楼层 |阅读模式
  1. freebsd# ./configure --prefix=/usr/local/mysql
  2. NOTE: This is a MySQL binary distribution. It's ready to run, you don't
  3. need to configure it!

  4. To help you a bit, I am now going to create the needed MySQL databases
  5. and start the MySQL server for you.  If you run into any trouble, please
  6. consult the MySQL manual, that you can find in the Docs directory.

  7. Preparing db table
  8. Preparing host table
  9. Preparing user table
  10. Preparing func table
  11. Preparing tables_priv table
  12. Preparing columns_priv table
  13. Installing all prepared tables
  14. 051227 14:41:28 ./bin/mysqld: Shutdown Complete


  15. To start mysqld at boot time you have to copy support-files/mysql.server
  16. to the right place for your system

  17. PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
  18. To do so, start the server, then issue the following commands:
  19. ./bin/mysqladmin -u root password 'new-password'
  20. ./bin/mysqladmin -u root -h freebsd.livesing.com password 'new-password'
  21. See the manual for more instructions.

  22. You can start the MySQL daemon with:
  23. cd . ; ./bin/mysqld_safe &

  24. You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
  25. cd sql-bench ; perl run-all-tests

  26. Please report any problems with the ./bin/mysqlbug script!

  27. The latest information about MySQL is available on the web at
  28. http://www.mysql.com
  29. Support MySQL by buying support/licenses at https://order.mysql.com

  30. Starting the mysqld server.  You can test that it is up and running
  31. with the command:
  32. ./bin/mysqladmin version
  33. freebsd# chown: mysql: Invalid argument
  34. Starting mysqld daemon with databases from /usr/home/livesing/mysql-max-4.0.26-unknown-freebsd5.3-i386/data
  35. STOPPING server from pid file /usr/home/livesing/mysql-max-4.0.26-unknown-freebsd5.3-i386/data/freebsd.livesing.com.pid
  36. 051227 14:41:30  mysqld ended
复制代码


本人初学,请各位指教
bskzq 发表于 2005-12-27 16:53:08 | 显示全部楼层
你下载的不是源码包,是已经编译了的
回复

使用道具 举报

cqfanli 发表于 2005-12-29 08:21:58 | 显示全部楼层
This is a MySQL binary distribution. It's ready to run, you don't need to configure it!

你下載的是已 編譯好的二進制版本﹐直接使用即可﹐無需要再編譯一次。

To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system
用這里的腳本運行MYSQL服務。support-files/mysql.server
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-2-24 21:49 , Processed in 0.022386 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表