Title: .sql-file for creating empty database
Last modified: August 18, 2016

---

# .sql-file for creating empty database

 *  Resolved [nusi](https://wordpress.org/support/users/nusi/)
 * (@nusi)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/)
 * hi,
 * just trying to get the recent wp-version running, i’ve edited wp-config as explaned
   in the readme. I think I’ve done it correctly (as the database is running on 
   localhost). Though I think the installation has a problem because I have got 
   to use an existing (though empty) database as I guess wp is trying to set up 
   a new db?
    I’ve looked for an sql-file, which would have allowed me to do the
   setup manually, but it doesn’t seem to exist, neither as a file within the installation-
   download, nor here on the wp-server.
 * anyone had the same problem?
 * tanks for hints, stefan

Viewing 9 replies - 16 through 24 (of 24 total)

[←](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/?output_format=md)
[1](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/?output_format=md)
2

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580452)
 * Hamus–put in a ticket at [http://www.lowesthosting.com/clientarea.html](http://www.lowesthosting.com/clientarea.html)
   and ask them for the name you should use for the database host/server (DB_HOST).
 *  [hamus](https://wordpress.org/support/users/hamus/)
 * (@hamus)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580461)
 * Thank you – yes, I have followed your advice and sent in a ticket but careful
   reading of their help section shows that I should be using “localhost”.
    This
   has just got to be something obvious that is escaping me.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580463)
 * Posts the four lines you edited of your wp-config file (put **** instead of the
   pw)
 *  [hamus](https://wordpress.org/support/users/hamus/)
 * (@hamus)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580469)
 * This is what I have changed from the sample file. also added to the server “localhost”
   as empty db file at my host.
 * define(‘DB_NAME’, ‘shangrilowna’); // The name of the database
    define(‘DB_USER’,‘
   KomputerKlub ‘); // Your MySQL username define(‘DB_PASSWORD’, ‘******’); // …
   and password
 * Just to confirm: my wp-config.php file is in the ../ directory NOT in the ../
   wp-admin/ directory – OK?
 *  Thread Starter [nusi](https://wordpress.org/support/users/nusi/)
 * (@nusi)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580470)
 * [@hamus](https://wordpress.org/support/users/hamus/): that’s exactly what I did.
   wp-config.php resides in the blog directory, not blog/wp-admin
 * thanks for this report, stefan
 *  [hamus](https://wordpress.org/support/users/hamus/)
 * (@hamus)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580473)
 * Oh Boy – do I feel stupid!
 * In inserted an uncalled for “space” after the User Name 🙂
 * Thanks all
 *  [kissybee](https://wordpress.org/support/users/kissybee/)
 * (@kissybee)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580495)
 * Hi all, please excuse my extreme ignorance, but I have about 5 minutes experience
   with MySQL (and wordpress for that matter).
    I’m having the same problem with
   my wp-config.php being set up wrong, but I don’t actually know how to tell what
   my host is… (really embarrassed right now), and as for my username, I assume 
   it’s ‘root’ since I haven’t changed it to anything else. I’m also a bit confused
   about the language thing that comes after that in the wp-config file… Any help
   would be really appreciated!
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580507)
 * Kissybee,
 * Maybe [Editing wp-config.php](http://codex.wordpress.org/Editing_wp-config.php)
   will help you. Leave the lanugage thing alone if you are using english.
 * If the whole database thing is confusing maybe a review of the [Create the database and user section](http://codex.wordpress.org/Installing_WordPress#Step_2:_Create_the_Database_and_a_User)
   of [Installing WordPress](http://codex.wordpress.org/Installing_WordPress) will
   help.
 *  Thread Starter [nusi](https://wordpress.org/support/users/nusi/)
 * (@nusi)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580585)
 * whoever is reading this thread – check if your db-password resp. username is 
   correct – wp should be installed within minutes then 😉 no bothering

Viewing 9 replies - 16 through 24 (of 24 total)

[←](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/?output_format=md)
[1](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/?output_format=md)
2

The topic ‘.sql-file for creating empty database’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 24 replies
 * 8 participants
 * Last reply from: [nusi](https://wordpress.org/support/users/nusi/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/sql-file-for-creating-empty-database/page/2/#post-580585)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
