This appears to me every time when I connect to database
Access denied for user 'pnrntqbm_****'@'185.100.180.30' (using password: YES)
This user have all privileges, and this is the script I use
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php
$servername = "my site name";
$username = "pnrntqbm_****";
$password = "password";
$database = "pnrntqbm_****";
// Create connection
$conn = new mysqli($servername, $username, $password, $database);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>
Aucun commentaire:
Enregistrer un commentaire