• Resolved maximelat

    (@maximelat)


    Good morning,

    Today I’ve migrated my website from my localhost server (and database) to an external one. Everything worked great in local.
    All my website is working great but the credentials for my database have changed and so I can’t use wpbi lite anymore..

    How can I fix it ?
    I’ve tried to erase wbpi databases and the plugin and then download it again but my database connection became juste “@” without nothing around.
    (It used to be user@localhost and now just @ )

    For the moment I want to stay at Lite version and I don’t know what to do anymore ?
    Thank you

    https://wordpress.org/plugins/wp-business-intelligence-lite/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, please check that the wp-config.php file in your production server contains the DB connection parameters in the canonical form:

    // ** 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' );

    sometimes some hosting environments have weird configurations. As an alternative you can directly edit the DB entry for the DB credentials. Just look at your dev setup and mimic it (with the production credentials)

    I’m closing this after a month without feedback

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘DB pb when I migrate from localhost to real server’ is closed to new replies.