Omeka Database Error on install

Hi all,

I am installing omeka on a NAS box that has mysql already running and working for a drupal and wordpress install.

I have followed the instructions on: and got to step 6 (I have enabled error messages) and I just get a omeka page with:
Omeka Database Error

php_network_getaddresses: gethostbyname failed. errno=0.

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

My db.ini file looks like (minus the password obviously):

host = “localhost”
username = “omeka”
password = “*******”
dbname = “omeka”
prefix = "omeka_"
charset = "utf8"
;port = ""

Not too sure where to go from here, no matter what I change I get this same message pop up. I got the same message when trying to do it through a WAMPP install.


Forgot to mention its omeka 2.3 im installing and on phpmyadmin I have this under database server:

Server version: 5.5.41-MariaDB - Source distribution

I've seen rare, unusual cases where the quotation marks mess things up. Maybe try the same data in db.ini, but without the quotation marks around the values.

Thanks, removing the quotation marks sorted this!