Cannot connect to db after changing Hosting Account Password

    $server ="";
    $database ="epiz_23204131_smartville";
    $username ="epiz_23204131";
    $password ="*********";
$conn = new mysqli($server, $username, $password, $database);

// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
echo "Connected successfully

Connection failed: Access denied for user 'epiz_23204131'@'' (using password: YES)

I updated my password in connection.php with the new 
Hosting Account Password.

But failed to connect. At first, can connect to db using random generated password.

My connection.php file located at htdocs/connection.php.

Thank you.

P.S. I also read few posts regarding this issue, but no luck.

I also unable to enter PHPMyAdmin site.
After clearing cookies still the same.
Error: redirected you too many times.

Removing epiz_23204131_smartville database and create another with the same name are not working.
I solved the problem by creating another database with different name.