Since you want to test out your existing(local) site on the server; you have done the right thing as far as I can see on pastebin except for 1 thing
On step 10 – you replaced all occurances of “localhost” with your servername. Instead you should have replaced it with servername/directoryName.
If you still have issues, please let me know the exact issue you are facing and if possible the URL to your website on your host.
EDIT:
The issue that OP was facing was unable to connect to database. So the solution was to update DB details in the wp-config.php file.
Related Posts:
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Can’t connect to MySQL server on ‘127.0.0.1’ (10061) (2003)
- Delete all post meta except featured image
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Emojis getting converted to “?”
- Delete all post meta except featured image Using SQL
- WordPress database import: Row size too large
- Changing root password in PHPMyAdmin for WordPress Database when going live
- Can’t update WordFence Options, clear data manually
- Files on Localhost, Database on Server
- Getting “Error Establishing a Database Connection” on localhost in new Mac OSX Lion environment
- Cloning blog to localhost via WAMP
- DB prefix not updating
- Recovery – Restore Database after moving folder location locally
- 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’
- Search and Replace in Windows XAMPP site
- Missing latest posts and options after DB migration via phpMyAdmin
- Check if a database is well installed
- Deleting WordPress posts and media files based on author via MYSQL database
- Rename a table in MySQL
- How should I tackle –secure-file-priv in MySQL?
- #1045 – Access denied for user ‘root’@’localhost’ (using password: YES)
- phpMyAdmin – Error > Incorrect format parameter?
- Why is my database import losing text widget data?
- Checking if Database Table exists
- How to fetch Data in WordPress using MySQLi or $wpdb
- Connect to database using wordpress wp-config file
- Reset Post IDs to less than 64bit integer
- How To Export/Import WordPress (MySQL) Database Properly Via Command-Line?
- How to define composite keys with dbDelta()
- Is it possible to define two databases for one installation?
- Does WordPress use the InnoDB engine for MySQL by default?
- Huge wp_options table
- “MySQL server has gone away” since update to 3.8
- Can I transfer a mysql database to another site?
- MySQL Syntax Error upon restoring database from backup [closed]
- Help running a MySQL query to update all wp_#_options tables in a Multisite install
- Is it safe to convert tables from MyISAM to InnoDB?
- How do I properly update the WordPress database password?
- wpdb_prepare with multiple or condition
- Accidentally deleted active_plugins portion of the wp_options DB table
- WordPress Install and Database on separate hosting?
- WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
- Moving minor updates between local and live sites – just database?
- Error establishing database connection – high traffic?
- Using GROUP CONCAT in my-sql query with wp_usermeta table
- Create table from array with prepare
- How to prevent/delay MySQL connections when an object cache is used?
- How to fix database error duplicate entry
- Why this query is not showing any result on wordpresss home page?
- Best practice to limit results in get_row()?
- Why does changing Database Table Prefixes result in loss of content?
- Trouble running $wpdb->query() with last_insert_id
- Moving WordPress site to new domain – database import [duplicate]
- How to connect and insert data in database of wordpress?
- Buddypress avatar image in database [closed]
- phpMyAdmin error #1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
- How Do I Delete WordPress Posts Older Than 400 Days, From A WordPress Category
- $wpdb->get_var – What value is returned when zero records are found?
- wp_option table error while importing
- Database migration issues – Error #1046 No database selected
- Error establishing a database connection (Set-up locally)
- Link multiple user databases together?
- Set a cron job to delete a specific database table table every midnight
- How to re-connect WP files in lampp/htdocs to new SQL database to recover site under development
- 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?
- How can I find user role in Mysql?
- syntax error for changing user role from database
- I would like some help wth an SQL query to link posts with categories
- Where is the HTML-handler part in the wpdb class?
- Featured image from custom to WordPress database
- WordPress Database Query works in phpMyAdmin but not in the code
- next comment id number wordpress
- Do I need to be selective about where I search and replace when pointing a domain to a subfolder used for development?
- Delete all users meta that named: user_avatar
- The MySQL Connection could not be established., before it was joomla but i have change it into worpress
- How to retrieve user data based on role using SQL?
- spambot registering without providing email or password, bypassing registration process
- Locally installing wordpress. Database problem
- Possible to restore wordpress database from mysql56 and sqlite files?
- Local Content different from Remote Content
- Widgets with *internal* links do not display after database migration
- How do i get value from wp_postmeta?
- Options table – where does my values go?
- Restoring .sql backup results in “Error establishing a database connection”
- “MySQL server has gone away” since update to 3.8
- featured image not showing up with mysql_connect
- MySQL Database User: Which Privileges are needed?
- Import Excel (or csv) Table with user-data as subscribers to wordpress
- Print output of Table Creation
- SQL query : Select a thumbnail for a media
- Importing Concrete5 content to WordPress
- Theme Options – localhost to new url
- why you don’t Implement PDO for access every thing to database
- SQL Query to get post_id from wp_posts and and meta_key(s) from wp_postmeta
- SQL errors when querying for something with apostrophes
- Naming conventions for database tables