• Pvteyez

    (@pvteyez)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Pvteyez

    (@pvteyez)

    cloned database I meant, not closed.

    Clayton James

    (@claytonjames)

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New local site, Database Error’ is closed to new replies.