Support » Installing WordPress » WordPress admin URL 404 error.

  • Hello,

    I would like to demonstrate my problem. So i have this url and domain and its data that were before, has been directly deleted . So now i downloaded wordpress, but unfortunately when i try to login, with wp admin, it shows 404 error. Simply URL show: “webserver is functioning normally”

    Anyone could help me please?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The message does not come from WordPress but is generated by something in your hosting. I would recommend that you contact their support to clarify why the message is being generated.

    Your link returns: Error establishing a database connection

    Solutions:
    1. Ensure that your domain is directed to your hosting provider

    2. Check your database server

    The “Error Establishing a Database Connection” message may surface on your WordPress site if your MySQL server is inactive. While various factors can trigger this error, an often encountered issue is an excessive number of connections.

    A database server has a predetermined limit for the number of clients connected simultaneously. Once it reaches this maximum capacity, it may be unable to manage additional connections. Consequently, we advise reaching out to your hosting provider to inspect your MySQL server.

    Log into your cPanel account, navigate to Files and choose File Manager. Inside public_html, create new file (test.php) and add following code:

    <?php
    $link = mysqli_connect(‘localhost’, ‘username’, ‘password’);
    if (!$link)
    {
    die(‘Could not connect: ‘ . mysqli_error());
    }
    echo ‘Connected successfully’;
    mysqli_close($link);
    ?>

    Now access using browser: http://domain_name/test.php

    3. Check the Database Login Credentials
    Verify whether the database login settings align with those stored in your wp-config.php file. Access this file using the WordPress File Manager in your hosting control panel.

    If the login information in your wp-config.php file differs from the MySQL database settings, synchronize them by making the necessary modifications to the wp-config file.

    4. Fix the corrupted files:
    File corruption can be a result of a defective theme or plugin. To determine the culprit causing the error, inspect these components individually. If the error surfaces after activating a new theme, the theme itself may be the source of the problem.

    To address this issue, go to Appearance → Themes in your WordPress dashboard, and switch to a different theme.

    If switching the theme does not resolve the “Error Establishing a Database Connection” issue, it could be stemming from a corrupted plugin.

    Access the File Manager section in your cPanel dashboard. Navigate to public_html > wp_content and find the plugins folder. Right-click on the folder, and opt for the Rename option.

    5. Repair the database in wordpress
    Another issue that could lead to the “Error Establishing a Database Connection” in WordPress is a damaged database. This may occur due to data failures resulting from the frequent addition or removal of plugins or themes.

    If your WordPress dashboard displays a message similar to “One or more database tables are unavailable. The database may need to be repaired,” it could indicate a corrupted database.

    Add the following code in your wp_config.php file:
    define(‘WP_ALLOW_REPAIR’, true);

    Thread Starter farkaskorom

    (@farkaskorom)

    Thanks for your help

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.