Skip to content

Instantly share code, notes, and snippets.

@carlosanders
Last active March 11, 2021 02:29
Show Gist options
  • Save carlosanders/a4891171833cc478f8ab00c842c77952 to your computer and use it in GitHub Desktop.
Save carlosanders/a4891171833cc478f8ab00c842c77952 to your computer and use it in GitHub Desktop.
Comando utilizados no console do windows cmd
::propridedas do sistema
sysdm.cpl
:: editor de politica de grupo local
gpedit.msc
:: serviços
services
:: gerenciador de tarefas
taskmgr
::
mysqld --defaults-file=C:\desenv\mysql-5.7.20\my.ini --initialize --console
mysqld --initialize --console
mysqld --initialize
mysqld --console
mysqld --verbose --help > help_mysql.txt
mysqld --console --init-file=reset.sql
mysqld --install
::
mysql -u redmine -h 192.168.0.15 -p
history
mysql -u redmine -h 192.168.0.15 -p
:: 2021
:: link: https://www.youtube.com/watch?v=P99dA0yGY8g
cd\mysql
cd bin
#criar pasta data
mysqld --initialize
mysqld --console
mysqld --console --init-file=C:\mysql\reset.sql
#habilitar o my.ini no C:\mysql\my.ini
mysqld --console
#usuario adiminsitrador
mysqld --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment