• Resolved marquillos

    (@marquillos)


    Hello!

    How do I fix this error when trying to import:

    Connection error. Visit the admin area for more details or open the config.php file and check the database information. Message: Access denied for user ‘test’@’localhost’ (using password: YES).

    I’m importing to a subdomain for testing

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Yani

    (@yaniiliev)

    When do you encounter this error exactly? Can you describe the steps you are taking and when you see this message?
    Thank you!

    Thread Starter marquillos

    (@marquillos)

    Hi Yani,

    When the plugin is importing the database it does not go above 96%. I waited 15 minutes and nothing. I opened the url from another tab and it showed me this message.

    Plugin Author Yani

    (@yaniiliev)

    It appears that the issue might stem from plugins or themes that are trying to make direct database connections, bypassing WordPress’s $wpdb object and the credentials in wp-config.php. Another possibility is that the database server is crashing post-import.

    Here’s how you can troubleshoot this:

    1. Rename the wp-content/plugins folder to wp-content/plugins-disabled. This will deactivate all the plugins.

    2. Similarly, rename wp-content/themes to wp-content/themes-disabled. This will revert your site to a default WordPress theme.

    By doing these steps, you can isolate whether a specific plugin or theme is causing the database connection issue. If the site works successfully after this, you can rename the folders back to their original names and activate each plugin and theme one by one to identify the culprit.

    Thread Starter marquillos

    (@marquillos)

    The error persists, I think it is something of the current version of the plugin, because I imported a backup of October 4 and it imported successfully.

    Plugin Author Yani

    (@yaniiliev)

    Think about what changed on the website between October 4 and the date of the backup that does not work. If you installed a plugin or made some changes then likely that’s the cause of it.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Conection error database – Import’ is closed to new replies.