Hi!
I am new in PHP and in MYSQL database.
I am getting below error when run any query
mysqliDb.php on line 298
[07-Jun-2020 10:48:11 America/New_York] PHP Warning: mysqli::__construct(): (HY000/1044): Access denied for user
I am using it like
$db = new MysqliDb (HOST, DBU, DBPASS, HOST);
and running query like
$users = $db->get('table_users');
print_r($users);
However when I use normal connection without use mysqliDb, its working fine. Let me know if someone can help me for solve it.
Thanks!
Hi! I am new in PHP and in MYSQL database. I am getting below error when run any query
mysqliDb.php on line 298 [07-Jun-2020 10:48:11 America/New_York] PHP Warning: mysqli::__construct(): (HY000/1044): Access denied for user I am using it like
However when I use normal connection without use mysqliDb, its working fine. Let me know if someone can help me for solve it. Thanks!