Found the answer. I needed to update my siteurl and home in the database: https://stackoverflow.com/questions/27966733/can-not-connect-to-wordpress-in-localhost-get-http-localhost-neterr-connec
Related Posts:
- WordPress database import: Row size too large
- Why is my database import losing text widget data?
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- What’s the database relationship between a post and its attachments
- Export WP database for import using WP-CLI on Vagrant Box
- Importing posts from old website to new conflicting post ID’s?
- When importing database, it shows error
- Delete all post meta except featured image
- Is a direct or import approach safer for migration into WordPress?
- MySQL Syntax Error upon restoring database from backup [closed]
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Emojis getting converted to “?”
- How to replace values in WordPress DB using phpMyAdmin
- Delete all post meta except featured image Using SQL
- Accidentally deleted active_plugins portion of the wp_options DB table
- Import live site to local setup without access to live site
- phpMyAdmin displays error when importing database
- Error establishing a database connection; After importing DB & Theme
- Export / import WordPress database
- Merging two databases without borking it
- Importing CSV into database table not working?
- WordPress Database Huge wp_usermeta Table
- Import users from old WP site to new one
- import posts with dutch/special letters
- Importing Direct to DB – GUID Question
- Changing root password in PHPMyAdmin for WordPress Database when going live
- Can’t update WordFence Options, clear data manually
- Post Views / Hit Counter Problem?
- How to migrate a database from a server to another
- Best practice to import user base (subscribers) from one website to another?
- Importer fails to import every post
- WordPress database products structure
- SELECT SQL_CALC_FOUND_ROWS with wordpress search
- Files on Localhost, Database on Server
- Backing up WordPress database and files
- phpMyAdmin error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- wp_option table error while importing
- Installing local to live WP into subdirectory
- Is it good practice to import/export a blog to test a redesign?
- Delete user with only subscriber role
- Can’t log into wordpress site – I have made a new user and still cant access
- Is there any way to monitor a MySQL db and check what has changed?
- DB prefix not updating
- I wanted to Know that how can I give ingore to 0000-00-00 in my config file
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- I need to find posts that contain YouTube links without http:// or https:// prefix and add http:// to all of them
- Is there any defects for using same database prefix in WordPress for multiple sites?
- Migrating meta_key and meta_value from old theme to new one
- What is recommended data type and encryption type for password in a database
- syntax error for changing user role from database
- Featured image from custom to WordPress database
- Duplicate database to roll back theme & content changes
- WP website showing blank page after moving from subdomain to main domain
- How to retrieve user data based on role using SQL?
- WordPress character set issue
- Missing latest posts and options after DB migration via phpMyAdmin
- Check if a database is well installed
- Changed meta_key value in structures, now dashboard shows zero users
- Options table – where does my values go?
- Database question while Migrating from one domain to another on same WebHost [Bluehost]
- I broke database after reuploading local version – what exactly happened? Database error
- Importing Concrete5 content to WordPress
- Deleting WordPress posts and media files based on author via MYSQL database
- Database table prefix different between wp-config.php and in database
- Two WordPress sites sharing the same content
- How to track user progress?
- Sharing database for collaborative development
- Inserting data into custom tables
- Can I use MariaDB instead of MySQL in wordpress?
- Inserting Post Meta From SQL
- Saving Metadata from the Gutenberg Editor Sidebar to the Database
- Copy customizer options to child theme
- How to use user table of a different database for WordPress users?
- Getting all the users who have author privilege
- Sync user meta data to a second database
- Is it safe to delete unnecessary user metadata?
- WordPress Relational Database
- Switching Databases in LocalHost
- wp_insert_post causing There was an error connecting to the database: Access denied for user ‘root’@’localhost’ (using password: NO)
- How to update the values when the featured image has changed?
- Does WordPress $wpdb functions wait when table is locked?
- Uknown meta entries in wp_postmeta
- Insert Query not working in the form
- connecting to DB from custom php file
- Clear Terms from Taxonomy for Specific Post IDs?
- Buddypress avatar image in database [closed]
- WordPress security [closed]
- How to split the WordPress database?
- Advantages of dbDelta
- Only allow user to access a link once a year, based on their joining date
- “BS_” rows in postmeta table
- I Want a More Concice Form of Data than an Array
- mySQL database size large, but tables size less
- Error establishing database connection error during first WordPress run
- version control for wordpress? (wordpress folder and database at same time)
- Install WordPress with SQL database
- Creating Job Tickets
- Best db table structure for users with many records
- Uploaded images not displaying full size preview or inserting into posts
- Understanding Redundant postmeta Tables in WordPress Database