Como eu disse, eu realmente não lidei com o MySQL ou PHP antes, mas o problema era que o usuário root não tinha uma senha, e meu arquivo config.inc.php estava configurado para não aceitar uma senha em branco. , então foi impossível entrar. Mudei minha senha e agora funciona.