I can't connect database

I am having a hard time connecting the database, I am adding the right user (I have checked many times) that is, as it is in the control panel, but still giving the message below, can someone help me?

Notice : Undefined variable: bE8 in /storage/ssd1/249/13232249/public_html/conect_db.php on line 7

Warning : mysqli_connect(): (HY000/1045): ProxySQL Error: Access denied for user ‘id13232249_user_b3’@‘2a02:4780:bad:f00d::17’ (using password: YES) in /storage/ssd1/249/13232249/public_html/conect_db.php on line 11
Connection failed 3: ProxySQL Error: Access denied for user ‘id13232249_user_b3’@‘2a02:4780:bad:f00d::17’ (using password: YES)

Make sure:

  1. You’re using localhost as your host
  2. You’re using the right password (change it just in case)

I’m using this script:

$servername = “localhost”;
$username = “id13232249_user_b3”;
$password = “my passaword”;
$database = “id13232249_dados_b3”;

hello ckhawand
Yes, I am using localhost as directed on the site, which one should I use?
About a password yes, I am using the correct one, I tested accessing the db directly with the same data as the connection and it worked, better to change the password?

Yes, try changing the password.

This topic was automatically closed after 25 hours. New replies are no longer allowed.