Ver Mensaje Individual
  #18 (permalink)  
Antiguo 07/05/2009, 15:08
marangob
 
Fecha de Ingreso: mayo-2009
Mensajes: 17
Antigüedad: 14 años, 11 meses
Puntos: 0
Respuesta: Olvido password root

para la solución del FAQ primero pare el servidor, genere el archivo tal como dice en el faq, es decir, esta ubicado en C:\mysql-init.txt con el siguiente codigo

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('aqui puse mi password');

luego

ejecutar
cmd

C:\>"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --defaults-file="C:\Pro
gram Files\MySQL\MySQL Server 5.1\my.ini" -- init-file=C:\mysql-init.txt

y me genera el error

090507 14:32:13 InnoDB: Operating system error number 5 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory. It may also be you have created a subdirectory
InnoDB: of the same name as a data file.
InnoDB: File name .\ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.