$conn = new mysqli("localhost", "Voyga");
it works well without password
$conn = new mysqli("localhost", "Voyga", "password");
but it says Access denied for user 'Voyga'@'localhost' (using password: YES)
i if I use password.
The password must be right because I can successfully use this password to access mysql in the command line. Why can't I use password if I try to connect mysql in php?