You need to enter a password. It cannot be that it works wihtout a password. On a XAMPP etc install that is likely also "root" a the user. Of course locally you can access de database via phpmyadmin without entering credentials, a local server is a bit different that a real one here.