Warning: mysqli_connect(): (HY000/1045): Access denied for user 'yourMySQLusername'@'localhost' (using password: YES) in /home/aspoerri/public_html/Teaching/InfoTech/Lectures/Lec11/Steps/connectDatabase_step3.php on line 3
Fatal error: Uncaught TypeError: mysqli_error(): Argument #1 ($mysql) must be of type mysqli, bool given in /home/aspoerri/public_html/Teaching/InfoTech/Lectures/Lec11/Steps/connectDatabase_step3.php:4
Stack trace:
#0 /home/aspoerri/public_html/Teaching/InfoTech/Lectures/Lec11/Steps/connectDatabase_step3.php(4): mysqli_error(false)
#1 {main}
thrown in /home/aspoerri/public_html/Teaching/InfoTech/Lectures/Lec11/Steps/connectDatabase_step3.php on line 4