Database acess denied

My website URL is:
http://www.augustofrr.ga/portfolio/battle/lista_questoes.php

What I’m seeing is:
Acess denied for user ‘epiz_2419…’ (using password: YES)

I’m using this software:
File Manager and MySQL PHP

Additional information:

I’ve read some topics and checked https://infinityfree.net/support/common-mysql-errors/

Still unable to connect, I’m pretty sure i’m writing the right password and database name

From the same article you posted, but edited by me:

Access denied for user

You can see an error message which looks like Access denied for user 'epiz_12345678'@'192.168.0.*' (using password: YES). This message means that the user was able to connect, but does not have access to the provided database name.

This could mean one of two things.

This generally means that the database name is not correct. If you entered the database name my_database when creating the database, the full database name looks like epiz_12345678_my_database. You can find the database name in the MySQL Databases menu as well.

It could also mean that your database password is incorrect. The database password is the same as your hosting account password (which is generally different from your client area password!). You can find your hosting account password by logging in to your client area, selecting the hosting account, scrolling down to “Account Details” and clicking on “Show/Hide” to show the password.

when you’re telling it’s correct:

db passwords should be same with your cpanel one. if you change your cpanel password it won’t change db passwords :confused:

you can want admin to refresh your db permissions if you’ve changed your cpanel password

2 Likes

I’ve tried this:
$con = mysqli_connect(“sql303.epizy.com”, “epiz_24197726”, “PLa*****”, “epiz_24197726_BattleDatabase”);

the password is the same as shown in account details, but…

Not working…

Then it’s most likely that your database permissions are corrupted, and need to be reset.

1 Like

if I recreate the database, the new password will work with it?

You can try to do it. If it works, then you will thank me. If not, recreate it with another name and update the database details to use the new database name.

1 Like

Yep, It worked, thanks!

1 Like

And, BayoDino is a woman, not a man like me.

2 Likes

Oh, sorry, I didn’t notice that

Sorry BayoDino, I won’t make this mistake again

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.