Error when installing One-Click Dreamhost Omeka Install

Omeka Install using Dreamhost One-Click install

I am stuck on an Omega database error. Using a one-click install, I have deleted and reinstalled it twice now and same errors.

the db.ini file is as follows

; Omeka requires MySQL 5 or newer.
; To configure your database, replace the X's with your specific
; settings. If you're unsure about your database information, ask
; your server administrator, or consult the documentation at
; <>.

host = “”
username = “tlwest”
password = “password”
dbname = “livwestomeka”
prefix = “omeka_”
charset = "utf8"
;port = ""

i consistently get the following error:

Omeka Database Error
php_network_getaddresses: getaddrinfo failed: Name or service not known.

Confirm that the information in your db.ini file is correct.

Any suggestions on what to check would be appreciated…thanks!

Russ Hartill

Are you sure is the right host?

The .xml. part in particular seems out of place.

Yes, the xml is a sub domain of as well. My php shows it as follows: Server: via TCP/IP
Server version: 5.1.56-log
Protocol version: 10
MySQL charset: UTF-8 Unicode (utf8)

You might need to check with Dreamhost support on this one.

The error you're getting basically means that the PHP running on your web server that's running Omeka doesn't know how to find They may need to update a hosts file entry or a DNS configuration, or it may be that you're just supposed to use a different name there.

You could also check something out for yourself: if you ssh into your web server, what happens when you ping ?

Also, if you login to your Dreamhost account, on the left you can click on Manage Your Databases. It will have your database information. Dreamhost also generates an email to you when you install Omeka with OneClick that will have your db info for your db.ini file. Their live chat support is also pretty responsive.

After multiple attempts with different SQL database iterations I have asked Dreamhost support for some guidance. They have been responsive so far and the emails the one click generates have been followed to a tee. I might need to be moved to a different Apache server.

Thank you for contacting Dreamhost.

It appears the db.ini file had mac formatting and was seeing â instead of
' possibly when you edited it on your local machine.

I have corrected it and the installation is loading properly now.

If you have any other questions please let me know!

Randall M

Good to hear that you got this fixed! I know I tried that one click install and had nothing but issues with it, not to mention that the version that they had when I insalled it was about a year old.