Is any way to call new mysqli($host, $user, $pass, $db_name) without printing the following errors?
Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'user'@'127.0.0.1' (using password: YES) in...
I don't like to ignore errors (@ or error_reporting(0)), i would like any other "better practice" way.