SHOW TABLES LIKE 'options' error

I'm trying to install version 1.3.1 to do some troubleshooting and for plugin compatibility. Install to proceed on recent Ubuntu server with PHP version 5.3.2. No matter what I do I get error:


Fatal error: Uncaught exception 'Zend_Db_Statement_Mysqli_Exception' with message 'Mysqli prepare error: No database selected' in /www/digital-stage.library.ucsb.edu/htdocs/application/libraries/Zend/Db/Statement/Mysqli.php:77
Stack trace:
#0 /www/digital-stage.library.ucsb.edu/htdocs/application/libraries/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SHOW TABLES LIK...')
#1 /www/digital-stage.library.ucsb.edu/htdocs/application/libraries/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SHOW TABLES LIK...')
#2 /www/digital-stage.library.ucsb.edu/htdocs/application/libraries/Zend/Db/Adapter/Abstract.php(467): Zend_Db_Adapter_Mysqli->prepare('SHOW TABLES LIK...')
#3 /www/digital-stage.library.ucsb.edu/htdocs/application/libraries/Zend/Db/Adapter/Abstract.php(706): Zend_Db_Adapter_Abstract->query('SHOW TABLES LIK...', Array)
#4 [internal function]: Zend_Db_Adapter_Abstract->fetchAll('SHOW TABLES LIK...')
#5 /www/digital-stage.library.ucsb.edu/htdocs/applicatio in /www/digital-stage.library.ucsb.edu/htdocs/application/libraries/Zend/Db/Statement/Mysqli.phpon line 77

Has anyone else run into this? I've verified that the localhost database is accessible using the user & pass in db.ini I was able to connect on the command line to the database. I've turned on all the logging options in config. I've turned on show_errors in .htaccess
This line shows in my Apache error log:

2012-01-26T16:45:13-08:00 DEBUG (7): SHOW TABLES LIKE 'options'</option> each time I load the url.

Has anyone else run into this problem?
Any ideas on how I can trouble shoot this?

This sounds like a problem with your db.ini information.

You mentioned checking your host, username and password, but what about the dbname setting?

Note that the "dbname" setting is called "name" on older versions of Omeka, so if you're copying a db.ini backward, you'll need to change "dbname" to "name."

Big Thank You John!

I did indeed have:
dbname = "omeka"
in my db.ini file.

I'm so glad you could think of my config problem in a way I could not.
Problem seems to be resolved now.