Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the feeds-for-youtube domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the instagram-feed domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/empresadigital.net.br/public_html/wp-includes/functions.php on line 6114
Comandos básico do MysQL via SSH | Empresa Digital

TUTORIAL APLICÁVEL À NOSSA PLATAFORMA EMPRESA DIGITAL

Servidor Linux CentOS 7 com CWPanel Pro

Conheça nossa plataforma EMPRESA DIGITAL.

Para outros sistemas podem ser necessárias adaptações.

Como fazer backup do banco de dados via SSH:
 

 

Use o comando abaixo e substituta:

usuário pelo seu usuário

nome_banco pelo nome do seu banco de dados.

arquivo_final.sql pelo nome desejado para o arquivo final

 

mysqldump -u root -p nome_banco > arquivo_final.sql

 

Como conectar ao MySQL

 

mysql -h NOME-DO-SERVIDOR -u NOME-DO-USUARIO

 

Listar todos os bancos de dados existentes no servidor:

SHOW DATABASES;

 

Criação do banco de dados

Criar banco de dados com o nome nome_banco

CREATE DATABASE nome_banco;