Anyone has experience installing CiviCRM in Wordpress? I tried to follow the installation guide but I come with this problem, Google doesn't offer much help. It comes with an error in the database name "The database name provided is not valid. Please use only 0-9, a-z, A-Z, _ and - as characters in the name." Any help or direction to get help will be appreciated.Error when running the installer

I edited an added the db name

  • Can you make sure you database only includes name, number, underscore and hypen chars only? Oct 1, 2020 at 7:22
  • What is your db name? That's the key piece of information in the screenshot but its redacted!
    – Aidan
    Oct 1, 2020 at 9:15
  • Hi Pradeep, the db name is only numbers. Oct 2, 2020 at 0:50

1 Answer 1


For whatever reason, Civi requires it to have at least one letter (lower case or upper doesn't matter).

See https://github.com/civicrm/civicrm-core/blob/5.29.1/CRM/Core/DAO.php#L2992

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.