Ver Mensaje Individual
  #7 (permalink)  
Antiguo 11/09/2009, 15:05
Avatar de nonpublic
nonpublic
 
Fecha de Ingreso: agosto-2009
Mensajes: 240
Antigüedad: 14 años, 8 meses
Puntos: 4
Respuesta: #1045 - Access denied for user 'root'@'localhost' (using password: NO)

Tu contraseña de root es incorrecta, por eso no puedes acceder ni desde la consola. Que aplicacion estas utilizando para tu webserver? LAMP? XAMP? WAMP?
Aqui puedes obtener mas ayuda para resetear tu password
http://www.mydigitallife.info/2006/0...-mysql-server/
Prueba el punto 5:
Cita:
1. Stop mysqld and restart it with the –skip-grant-tables –user=root options (Windows users omit the –user=root portion).
2. Connect to the mysqld server with this command:

shell> mysql -u root
3. Issue the following statements in the mysql client:

mysql> UPDATE mysql.user SET Password=PASSWORD(’newpwd’)
-> WHERE User=’root’;
mysql> FLUSH PRIVILEGES;

Replace ‘newpwd’ with the actual root password that you want to use.
4. You should be able to connect using the new password.