If the database is gone, your posts, pages, widget settings and other such data is gone. There’s no way to “recreate” the old database. You need to reinstall WP and start with a site with no content.
If you have a copy of the theme and actual code modifications, that’s good. There is a difference between what can be called the “static” content and the “dynamic” content. Dynamic is the actual page/post text content and is in the database. Static content are the theme and plugin files, uploaded images and other such files.
Ask your web host if they have a backup. And once you’re up again, install a backup plugin and keep daily database and theme backups.
Related Posts:
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- phpMyAdmin – Error > Incorrect format parameter?
- Difference between partition key, composite key and clustering key in Cassandra?
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Why is my database import losing text widget data?
- Get error messages when $wpdb->insert() returns false?
- Does dbDelta delete columns as well?
- Are There Any Plans for WordPress to Support Databases Other Than MySQL?
- Reset Post IDs to less than 64bit integer
- Insert data in database using form
- how can get database name in wordpress?
- Special characters in WordPress UTF-8 [closed]
- Long option names fail silently?
- Upload files – total size limit – WordPress/Contact Form 7
- Relationship between performance and database size
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- WordPress and automated MySQL backups to a different host
- Scheduling posts in database
- Size article thumbnails and retrieve them directly from database
- Should I be able to run two different “close” code versions of wordpress with the same DB
- Query from a different database than the default
- Need of separate security plugins for both root and subfolder sites WordPress?
- Escaping / encoding data before insert into a database?
- how to store arrays into a database
- Error: SELECT SQL_CALC_FOUND_ROWS
- How can I create a Bible search engine via WordPress? [closed]
- Error establishing a database connection; After importing DB & Theme
- Where are WP_Errors Saved
- Get all images from this database table
- Delete transients in website
- Error establishing database connection – high traffic?
- Switching database on the fly
- Bulk-create posts from SQL database
- Populate dropdown from database
- I am switching laptops. I host my WP server through MAMP. I want to transfer [closed]
- Finding the original login information in the database
- wordpress ‘database update required’ loop after update
- Database Table for customer user
- Is there a solution to auto-post data to a WP post from a database
- How to Access wp_usermeta Data Immediately After a New User is Created
- Cleanup: best way to remove WooCommerce comments from the wp_comments table
- Logins from WP users table use on another page
- How to paginate information obtained from a query to a custom table?
- How can I show related posts from multiple separate installations
- Uknown meta entries in wp_postmeta
- Error establishing a database connection problem in xampp saver
- WordPress site URL changed; how to fix it without database access?
- I’m not able to get access to $wpdb [duplicate]
- Error establishing a database connection,
- Create table with dbDelta,can’t put any DEFAULT data
- WordPress database connection [closed]
- Changing between Local Host DB to Production DB and in reverse
- Post Views / Hit Counter Problem?
- Trying to create a custom meta table for working with a custom table
- Connecting to a different database
- What is the purpose of the “term_id” column in the “wp_term_taxonomy” table?
- Link image with data from the wpdb
- Regenerate user_nicename column
- Create Pages for database content
- Should I use an additional column in the DB?
- Storing user submitted forms [closed]
- User Tracking for Custom Post Type “Lesson”. Database Queries and Performance
- Understanding WordPress Search
- Getting WordPress to work inside a rails 3 application
- Advantages of dbDelta
- Only allow user to access a link once a year, based on their joining date
- Error establishing a database connection in wordpress site , website not opening
- MSQL database wp_postmeta has meta key tve_revision
- Occasional Error Establishing a Database Connection
- Display user data in numbered list
- Removing old_slug and old_date from WordPress Database
- Help with $wpdb on custom code
- “BS_” rows in postmeta table
- Migrating meta_key and meta_value from old theme to new one
- How do I change several broken URLs in a several wordpress databases in the fastest way?
- Optimize WP site for millions of posts
- I Want a More Concice Form of Data than an Array
- Duplicate database to roll back theme & content changes
- database error WordPress move from one hosting to other
- WordPress Migration – Issue with admin panel changes
- Select data from foreach loop and send it to wordpress database
- mySQL database size large, but tables size less
- Error establishing database connection error during first WordPress run
- Same DB for live and dev versions
- How To connect to the same WordPress database with different database user
- How much post meta data is too much?
- I have include wp-config, should I add global $wpdb also?
- Localize strings from db
- Can’t Install WordPress (local) Failed to open file wp-includes/wp-db.php
- version control for wordpress? (wordpress folder and database at same time)
- not saving post in wp_post wordpress database table
- Redirect Issue: WordPress database
- Category not displaying in add post, edit post, and categories page.
- Install WordPress with SQL database
- Creating Job Tickets
- Best db table structure for users with many records
- How to store a plain password in WordPress database in another field
- How to stop WordPress from using utf8mb4_unicode_ci collation
- wp_usermeta key problem