WordPress.org

Ready to get started?Download WordPress

Forums

New local site, Database Error (3 posts)

  1. Pvteyez
    Member
    Posted 1 year ago #

    I have a local site that works fine under winamp and nicely when I moved it to a production server. I'm starting a new one so I cloned the original site into a new folder on the local machine for development.

    I made the appropriate entries to the new wp-config and I thought the needed entries to the wp_user and wp_content in the closed database. Now when I go to winamp both projects are there. The old one works fine but the new one shows "Error Establishing a Database Connection" Everything seems to be pointing where it should.

    What did I miss?

  2. Pvteyez
    Member
    Posted 1 year ago #

    cloned database I meant, not closed.

  3. ClaytonJames
    Member
    Posted 1 year ago #

    There are (generally speaking) usually three common things that can cause that issue.

    1) database name, database username, or user password is inaccurate - database name or user data in wp-config doesn't match user data or database name in MySQL

    2) database isn't available - ie. mysqld isn't running

    3) the MySQL user you've defined doesn't have sufficient permissions on the WordPress database

Topic Closed

This topic has been closed to new replies.

About this Topic