Using database in new instalation

  1. Enable
    debugging

    so that you can spot problems.
  2. Alter the database connection information in wp-config.php

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', 'database_name_here' );
    
    /** MySQL database username */
    define( 'DB_USER', 'username_here' );
    
    /** MySQL database password */
    define( 'DB_PASSWORD', 'password_here' );
    
    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    
  3. You can eliminate some issues by hard-coding a couple of web
    addresses also. If you are having a connection problem, I would recommend it.

    define( 'WP_SITEURL', 'http://example.com/wordpress' );
    define( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/path/to/wordpress' );
    
  4. Alter the embedded link URLs with a plugin like “Velvet Blues Update
    Urls”

Additional work may need to be done depending on Item #1