2 answers

2

With the little information we have, I give you some suggestions:

1 - Verify that the name of your database is: bd_usuarios .

2 - Check if your username is "root" and you have not assigned a password.

3 - in this line you have lost the symbol $ in password: $insertar ="INSERT INTO prueba1(nombre, contraseña, email, comentario) VALUES ('$nombre','contraseña','$email','$comentario')"; (You also have special characters, change password by password .