
Ubuntu日本語フォーラム

ログインしていません。
また質問になって大変申し訳ありません。
ubuntu9.0.4
webmin 1.430
を使っています。
まずapeche2をインストールしました。
sudo apt-get install apache2
(設定はしてません)
次にphp5をインストールしました。
sudo apt-get install php5 libapache2-mod-php5
(設定はしてません)
次にmysqlを使いたいのでphpmyadminをインストールしました。
順調にいっていんですがパスワードを決めて次にうつった時に次のようなエラーがでてすすまなくなりました。
An error seems to have occurred while installing the database. If it'ss
of any help, this was the error encountered:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
At this point, you have the option to retry or abort the operation. If
you choose "retry", you will be prompted with all the configuration
questions once more and another attempt will be made at performing the
operation. "retry (skip questions)" will immediately attempt the
operation again, skipping all questions. If you choose "abort", the
operation will fail and you will need to downgrade, reinstall,
reconfigure this package, or otherwise manually intervene to continue
using it. If you choose "ignore", the operation will continue, ignoringg
further errors from dbconfig-common.
強制終了(右上の×で閉じる)をしました。
そしてsudo dpkg --configure -aを実効しろとかかれていたので実効したらまたphpmyadminをインストールをはじめました。
しかしまた上記で書いたエラーがでて進みません。
どうのように解決をしてあげたらいいのでしょうか?
アドバイスをお願いします。
最後の編集者: kazu53000 (2009-05-13 17:36:48)
オフライン
すごく基本的な質問ですが、
mysql-server-5.0 か mysql-server-5.1 のどちらをインストールしましたか
オフライン
ryさんコメント有り難うございます。
mysqlからインストールしないといけなかったんですね。
mysqlをインストールしないでphpmyadminをインストールしていました。
その後にmysqlをインストールし、phpmyadminを完全削除してまたインストールをしたら出来ました。
現在はubuntuを再インストールしパーティションの切り方を考えています。
有り難うございました!
オフライン