Instalar MySQL zip

mysqld --initialize
mysqld --console
mysql -u root -h localhost

Ba a requerir contraseña que esta ubicado en:
MySQL/DATA/DESKTOP-VJBPBS.err

similar

2021-04-26T14:14:51.410978Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: ;(?oxtsuG4dK

Ahora si ingresar todo

mysql -u root -h localhost -p
Enter passqord: ;(?oxtsuG4dK

Cambiar contraseña
alter user 'root'@'localhost' identified by 'test123'
poner al final ; obligatorio

Admin comand

mysqladmin -u root -p shutdown

Instalar en servicios de windows
mysqld --install "MySQL 8.0"
mysqld --remove "MySQL 8.0"

Otros comandos:

mysqld start
mysqld stop
mysqld restart
Next Post Previous Post
No Comment
Add Comment
comment url