Title: Cannot create Database
Last modified: June 30, 2021

---

# Cannot create Database

 *  [mikehenden](https://wordpress.org/support/users/mikehenden/)
 * (@mikehenden)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cannot-create-database-2/)
 * **OK, this is not a specifically WordPress issue… **
 * I’m wanting to install a copy of WP on my development server (Localhost). I’ve
   downloaded and unpacked the WP source code. I’ve set up a PHP 7.3 environment
   using Vagrant and Virtualbox. I’ve typed in the IP address for localhost and 
   I’m getting a WordPress config screen. I’ve entered the Database details I’ve
   set up using SequelPro. And this is where the wheels come off. My Database apparently
   doesn’t exist.
 * Which isn’t surprising because SequelPro can’t connect to it either (it doesn’t
   exist). So how do I create it?
 * What am I missing? Any clues?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Mike Schinkel](https://wordpress.org/support/users/mikeschinkel/)
 * (@mikeschinkel)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cannot-create-database-2/#post-14609617)
 * [@mikehenden](https://wordpress.org/support/users/mikehenden/) — You probably
   need to provide more details about your setup.
 * Did you write the `Vagrantfile` or did you get from somewhere else? What is your
   base box? (`config.vm.box`?). Can you share a [Gist](https://gist.github.com/)
   of your `Vagrantfile`?
 * You say you created a database in SequelPro, correct? What did you name it?
 * Then you said you cannot connect to the DB; how did you create it if you cannot
   connect to it?
 * I assume you create and configured MySQL in your `Vagrantfile`? Or are you trying
   to use a MySQL installed on your `localhost`?
 *  Thread Starter [mikehenden](https://wordpress.org/support/users/mikehenden/)
 * (@mikehenden)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cannot-create-database-2/#post-14609631)
 * Standard Vagrantfile that I have used many times (in the creation of Silverstripe
   sites). Base box is **silverstripeltd/dev-ssp**
 * [mhdesign Vagrantfile](https://gist.github.com/mhenden/5a6b8cf0222e0a5ccab890e0b6be728f)
 * I named DB **WP_Client** (unique name)
 * I entered user and password, location is **Localhost**
 * From what I’ve seen this is all I need to do?
 * Or is there a Base Box that plays nicer with WP?
    -  This reply was modified 4 years, 11 months ago by [mikehenden](https://wordpress.org/support/users/mikehenden/).
    -  This reply was modified 4 years, 11 months ago by [mikehenden](https://wordpress.org/support/users/mikehenden/).
 *  Thread Starter [mikehenden](https://wordpress.org/support/users/mikehenden/)
 * (@mikehenden)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cannot-create-database-2/#post-14609641)
 * Hmmm, just found WP test I did in 2017 which ran fine. That was created with 
   the MAMP environment which included mySQL. But I don’t use MAMP any more…
 *  Thread Starter [mikehenden](https://wordpress.org/support/users/mikehenden/)
 * (@mikehenden)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/cannot-create-database-2/#post-14609792)
 * OK, I searched for a WP-compatible Virtualbox which led me to [http://vccw.cc/](http://vccw.cc/).
   Grabbed the ZIP file and ran:
 * >     ```
   >     Mikes-Mac-Pro:Wordpress mikehenden$ vagrant box add vccw-team/xenial64
   >     ==> box: Loading metadata for box 'vccw-team/xenial64'
   >         box: URL: https://vagrantcloud.com/vccw-team/xenial64
   >     ==> box: Adding box 'vccw-team/xenial64' (v20180107) for provider: virtualbox
   >         box: Downloading: https://vagrantcloud.com/vccw-team/boxes/xenial64/versions/20180107/providers/virtualbox.box
   >     Download redirected to host: vagrantcloud-files-production.s3-accelerate.amazonaws.com
   >     ==> box: Successfully added box 'vccw-team/xenial64' (v20180107) for 'virtualbox'!
   >     ```
   > 
 * I then attempted `vagrant up -- provision`
 * >     ```
   >     Mikes-Mac-Pro:Wordpress mikehenden$ vagrant up --provision
   >     Bringing machine 'default' up with 'virtualbox' provider...
   >     ==> default: Box 'base' could not be found. Attempting to find and install...
   >         default: Box Provider: virtualbox
   >         default: Box Version: >= 0
   >     ==> default: Box file was not detected as metadata. Adding it directly...
   >     ==> default: Adding box 'base' (v0) for provider: virtualbox
   >         default: Downloading: base
   >     An error occurred while downloading the remote file. The error
   >     message, if any, is reproduced below. Please fix this error and try
   >     again.
   > 
   >     Couldn't open file /Users/mikehenden/Sites/Wordpress/base
   >     ```
   > 
 * **Can anybody see what I did wrong?**
    -  This reply was modified 4 years, 11 months ago by [mikehenden](https://wordpress.org/support/users/mikehenden/).
    -  This reply was modified 4 years, 11 months ago by [mikehenden](https://wordpress.org/support/users/mikehenden/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot create Database’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [mikehenden](https://wordpress.org/support/users/mikehenden/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/cannot-create-database-2/#post-14609792)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
