Skip to content

Instantly share code, notes, and snippets.

@viniciusvts
Last active September 18, 2023 12:54
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save viniciusvts/1f22a62609d431099722ce89149b51d4 to your computer and use it in GitHub Desktop.
how-to

Instalar mariadb

primeiro instala pelo gerenciador de pacotes

#pacman -S mariadb

instala os dados no caminho padrão: /var/lib/mysql

sudo mysql_install_db --user=mysql --ldata=/var/lib/mysql

inicia o servidor do banco

sudo systemctl start mariadb

fazer login como root no sistema e executar:

mysql_secure_installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment