Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6893853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:42:38+00:00 2026-05-27T06:42:38+00:00

I have a hosting package with php and mysql, and ive installed wordpress on

  • 0

I have a hosting package with php and mysql, and ive installed wordpress on the server which accessed the database and gets the info. My site works as expected.

However im trying to upgrade certain aspects but dont want to try new things on the live version of my website.

So I wanted to use xampp to test my website, but xampp wont connect the the external database.

im assuming its something to do with the php.ini or mysql config but i dont know how to allow it.

Basically i need to access the mysql database on my hosting provider through xampp!

Any ideas?

Edit:

the warning info xampp is returning is

Warning: Cannot modify header information - headers already sent by (output started at C:\Users\Alex Morley-Finch\Dropbox\Shared\Projects\htdocs\A3MediaFinal\templates\side.php:71) in C:\Users\Alex Morley-Finch\Dropbox\Shared\Projects\htdocs\A3MediaFinal\news\wp-includes\functions.php on line 3286

Error establishing a database connection

line 3286:

    function dead_db() {
        global $wpdb;

        // Load custom DB error template, if present.
        if ( file_exists( WP_CONTENT_DIR . '/db-error.php' ) ) {
            require_once( WP_CONTENT_DIR . '/db-error.php' );
            die();
        }

        // If installing or in the admin, provide the verbose message.
        if ( defined('WP_INSTALLING') || defined('WP_ADMIN') )
            wp_die($wpdb->error);

        // Otherwise, be terse.
        status_header( 500 );
        nocache_headers();
//3286  header( 'Content-Type: text/html; charset=utf-8' );
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:42:39+00:00Added an answer on May 27, 2026 at 6:42 am

    Does you web hosting provider allow external access of the database. Some do not allow this as it is a potential security risk.

    Would it now be better to obtain a dump of the database from the live site and run it locally whilst you make changes?

    NOTE:

    The error you are recieving is to do with some information that is being outputted. What is the content of line
    wp-includes\functions.php on line 3286

    This error is generally present when you are printing some values out in a function, then trying to do an operation which requires the headers to changed, such as a redirect.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a basic hosting package that gives me access to create a MySQL
I have a shared hosting where I have my website and MySQL database. I've
I am using Webmin on an Idaq hosting package to manage my MySQL database.
I have a hosting account with servergrid.com. I want to backup my database, they
I have virtual hosting with SQL Server. I don't have physical access to SQL
I have a file hosting site that's using this script MFHS . I want
I used to have a small chat app(which was almost working), that uses PHP,
I have a hosting package where I have a private Tomcat and I run
Are there any database only hosting services? I need a MySQL only hosting service
I want to deploy my site on my web hosting package by doing a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.