Skip to content

Instantly share code, notes, and snippets.

@guisjlender
Created February 20, 2012 17:16
Show Gist options
  • Save guisjlender/1870166 to your computer and use it in GitHub Desktop.
Save guisjlender/1870166 to your computer and use it in GitHub Desktop.
Instalando e configurando mysql (CentOS)
Comando para instalar o mysql
# yum -y install mysql-server mysql
Quando a instalação finalizar, você deverá inicializar o serviço e definir a senha de root:
# service mysqld start
# mysqladmin -u root password ‘nova-senha’
Para fazer com que o MySQL seja inicializado automaticamente no boot:
# chkconfig –levels 2345 mysqld on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment