お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2009-05-13 04:52:41

kazu53000
メンバ
登録日: 2009-05-10

「解決」phpmyadminがインストール出来ません

また質問になって大変申し訳ありません。
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)

オフライン

 

#2 2009-05-13 07:27:51

ry
メンバ
登録日: 2008-07-30

Re: 「解決」phpmyadminがインストール出来ません

すごく基本的な質問ですが、
mysql-server-5.0 か mysql-server-5.1 のどちらをインストールしましたか

オフライン

 

#3 2009-05-13 17:36:28

kazu53000
メンバ
登録日: 2009-05-10

Re: 「解決」phpmyadminがインストール出来ません

ryさんコメント有り難うございます。
mysqlからインストールしないといけなかったんですね。
mysqlをインストールしないでphpmyadminをインストールしていました。

その後にmysqlをインストールし、phpmyadminを完全削除してまたインストールをしたら出来ました。

現在はubuntuを再インストールしパーティションの切り方を考えています。
有り難うございました!

オフライン

 

Board footer

Powered by FluxBB