Here is the mistake
Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'mysql'@'localhost' (using password: YES) in C:OSPanelhomeSTALCRAFT_X_SPARTA.localphpindex.php:71 Stack trace: #0 C:OSPanelhomeSTALCRAFT_X_SPARTA.localphpindex.php(71): mysqli->__construct('localhost', 'mysql', Object(SensitiveParameterValue), 'sparta') #1 {main} thrown in C:OSPanelhomeSTALCRAFT_X_SPARTA.localphpindex.php on line 71
Here is the code
` <?php
$mysql = new mysqli(“localhost”, “mysql”, “mysql”, “sparta”);
if ($mysql->connect_error) {
die("Conecrt Eror I losh". $mysql->connect_error);
}
?>`
I don’t understand much that this mercy is for me, having tried everything I could think of, but it didn’t help. Local server system Open Server