password - (same as hosting password- i changed it and copied through Accounts- epiz_30744064-show password(MySQL)
I used config.php to connect to my database.
Here is the code /without password/
<?php
session_start();
// spoji se s bazom podataka
$conn = mysqli_connect("sql113.epizy.com", "mynewpassword", "", "epiz_30744064_CroatiaZ");
if (!$conn) {
die("Error connecting to database: " . mysqli_connect_error());
}
// definiraj globalne konstante
define ('ROOT_PATH', realpath(dirname(__FILE__)));
define('BASE_URL', 'http://185.27.134.10/db_structure.php?db=epiz_30744064_CroatiaZ/');
?>
So, i try connect to epiz_30744064_CroatiaZ database but when I want to open my page it says
Error connecting to database: Access denied for user âmynewpasswordâ@â192.168.2.192â (using password: NO)
Any help?
i.e I looked through forums of infinityfree and others on web but still dont get it.
Thank you.
Do you see where it says using password: NO? That should be using password: YES. If you are copying what you see from your website, no one can see your password.
Make sure you have the correct password in your code.
Hi, yes I can see that and dont get it why it says NO instead of YES like in other examples of similar problems people asked. my URL is: http://www.nkcroatiazmijavci.rf.gd/