[mysql] やる夫のMySQL設定ミス
Unknown database
正直ネタがないので昨日30分くらい詰まったところを紹介します。 そんなDBは知らないよといっています。DB名が違うのではないでしょうか?
クライアント側から何度も接続できるし・・・DB名も間違ってないよなぁ~と思っていたのですが、”port”を”post”と記述してしまったため、エラーとなっていました。なるほど注意深く見ていた箇所は、DB名とport番号だけ・・・。まぁいいやセットアップできたし。
-----
failed: Unknown database 'yauro_db:post=13306' at /usr/local/yaruo/Data/ObjectDriver/Driver/DBI.pm line 24
-----
# /usr/bin/mysql -h indigo01 -P 13306 yaruo_db
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 32
Server version: 5.0.42-enterprise-gpl-log MySQL Enterprise Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> Bye
----------------------------------------
現場で使える MySQL (DB Magazine SELECTION)![]() |
| 松信 嘉範 翔泳社翔泳社翔泳社 定価 : ¥ 2,730 2006-03-17 amazonで詳しく見る |
| 固定リンク
「MySQL」カテゴリの記事
- InnoDB: Error: trying to declare trx to enter InnoDB, but InnoDB: it already is declared.(2009.03.05)
- [mysql] my.cnf設定変更(2008.08.04)
- [mysql] やる夫がカラム一覧を表示させるようです。(2008.01.28)
- [mysql] やる夫がDBコネクションをkillするようです。(2008.04.14)
- [mysql] やる夫のMySQL設定ミス(2008.06.20)



コメント