• Hello everyone. I don’t know what i’m doing wrong. I have created new databases and manually editing the wp-config file to match the credentials of the recently created database and when i visit the website address it lead me to the “config setup” again to create a wp-config file again (even whether already i ‘ve created it!). So i fill the form boxes with the same credentials of the created database but this doesn’t work neither, i’m still getting the error above. Can someone helpme please?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • What permissions did you give to the userid for your database? I believe the minimum required to run the install are select, insert, update, delete, and create. An example GRANT statement is below:

    GRANT select, insert, update, delete, create ON dbname.* TO userid_here@localhost
    

    Hello

    I notice that your website is hosted at 000webhost.
    They say at their page “There is currently an issue affecting many users with MySQL databases, which is also preventing users from installing WordPress. The issue is being worked on, so please refrain from creating topics about the issue.”
    at this link: https://www.000webhost.com/forum/t/how-to-connect-to-database-using-php/42093

    They have a problem setting up the Database Users and or passwords.
    If you create a new Database at their site, and try to enter using their manage button by selecting PHPadmin, using the Database user and password, you will get an error “mysqli_real_connect(): (HY000/1045): ProxySQL Error: Access denied for user ‘youruserID_yourDBuser’@’2a02:4780:bad:c0de::19’ (using password: YES)”

    The 000webhost website users are unable to install WordPress in any way at this time.

    Your WordPress set up at their site will work as soon as they fix their issue.

    I hope this can be of use to you.

    Best regards.

    Step 1: Get In Touch With Your Web Host Provider
    Step 2: Check If Your Plugin or Theme Files Haven’t Been Corrupted
    Step 3: Check If Your Database Hasn’t Been Corrupted
    Step 4: Check Your Database Connection Credentials
    Step 5: Restore The Default WordPress Files
    While there isn’t a 100% fail-proof way to protect your site against any error establishing a database connection, there are two main elements that you should have in your insurance puzzle to be at least 90% safe:
    1.Quality hosting.
    2.Have backups
    https://www.brillmindz.com/mobile-app-development-company-in-india/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error stablishing a database connection’ is closed to new replies.