Verbindung zu MySQL in XAMPP ohne Passwort

Ich möchte das mysql xampp Passwort auf kein Passwort konfigurieren. Ich öffnete die Datei my.ini und sah die folgende Zeile:

# password       = password

Ich benutze kein Passwort. Was soll ich eingeben?

Und das ist der Fehler, den ich bekomme, wenn ich versuche, über PHP eine Verbindung zu MySQL herzustellen:

 mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using     
password: YES) in C:\xampp\htdocs\spikes\functions.php on line 53
Failed to connect to MySQL: Access denied for user 'root'@'localhost' (using password: YES)
Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in     
C:\xampp\htdocs\spikes\home.php on line 6

Antworten auf die Frage(1)

Ihre Antwort auf die Frage