
| ・ |
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。
|
| ご利用の皆様から多く寄せられる質問にお答えしています。 |
|
| ・ |
ディーエーオフィスなどが利用する用語に関する解説を行います。
|
|
|
 |
 |  |
FreeBSD Ports MySQL 4.1 インストール |
サーバの導入。
cd /home/ports/databases/mysql41-server
make WITH_APACHE2=yes WITH_CHARSET=ujis WITH_XCHARSET=all install
= 作成されるデータベース =
/var/db/mysql
= データベースの生成 =
mysql_install_db --user=mysql
= 初回起動 =
mysqld_safe &
= 初回にパスワードを設定 =
mysqladmin -u root password 'new-password'
mysqladmin -u root -h osakagw2.daoffice.com password 'new-password'
= 起動スクリプト =
/usr/local/etc/rc.d/mysql-server.sh
! 設定オプション
導入時に指定します。
例)
make WITH_APACHE2=yes WITH_CHARSET=ujis WITH_XCHARSET=all install
---
===> Vulnerability check disabled, database not found
You may use the following build options:
WITH_CHARSET=charset Define the primary built-in charset (latin1).
WITH_XCHARSET=list Define other built-in charsets (may be 'all').
WITH_COLLATION=collate Define default collation (latin1_swedish_ci).
WITH_OPENSSL=yes Enable secure connections.
WITH_LINUXTHREADS=yes Use the linuxthreads pthread library.
WITH_PROC_SCOPE_PTH=yes Use process scope threads(try it if you use libpthread).
BUILD_OPTIMIZED=yes Enable compiler optimizations(use it if you need speed).
BUILD_STATIC=yes Build a static version of mysqld.(use it if you need even more speed).
WITHOUT_INNODB=yes Disable support for InnoDB table handler.
WITH_NDB=yes Enable support for NDB Cluster.
! 導入完了時のメッセージ例
Portsでのインストールが完了したときに表示される例です。
===> Installing rc.d startup script(s)
===> Compressing manual pages for mysql-server-4.1.18_2
===> Registering installation for mysql-server-4.1.18_2
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/mysqld
This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/mysql-server.sh
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.mysql.com/
|
[ 関連文書 ]PHPからMySQLへ接続できないのですが? (2006.04.14)
MySQLをシェルで利用したい (2004.01.25)
MySQLのROOTパスワードを強制的に変更したいのですが? (2004.01.25)
MySQLに関することを知りたい (2004.01.25)
MySQLで新しいデータベースとユーザを追加するにはどうしますか? (2006.04.13)
MySQLのユーザが追加したい (2004.01.25)
| 文書番号 |
06451 |
| 日付 |
2006.04.14 |
| 参照数 |
365 |
|