MySQLインストール

パッケージのインストール

コマンド

pkgadd -d mysql-5.0.67-solaris10-sparc.pkg 2>&1 | tee /var/tmp/mytmp

標準出力

The following packages are available:
  1  mysql     MySQL Community Server (GPL)
               (sun4u) 5.0.67

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 
 中のパッケージインスタンス  を処理中です。

MySQL Community Server (GPL)(sun4u) 5.0.67
Copyright (C) 2000-2005 MySQL AB & MySQL Finland AB & TCX DataKonsult AB

選択されたベースディレクトリ  は、インストール 前に存在し
ている必要があります。

今このディレクトリを作成しますか [y,n,?,q]  をパッケージのベースディレクトリとして使用します。
## パッケージ情報を処理中です。
## システム情報を処理中です。
## ディスク領域の要件を確認中です。
## すでにインストール済みのパッケージとの重複を確認中です。
## setuid/setgid を行うプログラムを検査中です。

このパッケージには、パッケージのインストール処理中にスーパーユーザーの
アクセス権で実行するスクリプトが含まれています。

 のインストールを継続しますか [y,n,?] 
MySQL Community Server (GPL) を  としてインストール中です。

## 1/1 部分をインストールしています。
/opt/mysql/mysql/COPYING
...
[ クラス  を検査しています ]
## postinstall スクリプトを実行中です。
ERROR: 1004  Can't create file '/var/tmp//installjkayNy/#sql31e7_1_0.frm' (errno: 13)
080930  7:19:20 [ERROR] Aborting

080930  7:19:20 [Note] /opt/mysql/mysql/bin/mysqld: Shutdown complete

Installation of system tables failed!

Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/opt/mysql/mysql/bin/mysqld --skip-grant &
and use the command line tool
/opt/mysql/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /opt/mysql/mysql/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!

 のインストールに成功しました。

とりあえずERROR出ている・・・・