Instalação do MySQL

Nesse assunto temos como variáveis:

senha do root: 123ewq

  • Instalar os seguintes pacotes:
    mysql-max
    
  • Editar o arquivo /etc/my.cnf e comentar a linha:
    #skip-networking
    
  • Iniciar o serviço mysql-max.
  • Criar a senha do usuário root:
    #> /usr/bin/mysqladmin -u root password '123ewq'
    
  • Quando aparecer:
    This script will create the main mysql database
    where user passwords and general permissions are
    stored. It will also ask you to configure the root
    password so that a blank one does not get asigned.Please, type the root password:
    :
    
  • Colocar a senha de root do MySQL no final conforme exemplo abaixo:
    This script will create the main mysql database
    where user passwords and general permissions are
    stored. It will also ask you to configure the root
    password so that a blank one does not get asigned.Please, type the root password:
    : lbr
    Please, retype to confirm: lbr
    
IP
35.172.217.174