Como Colocar uma Base de Dados MySQL em ReadOnly?
1º) Ligar ao servidor de MySQL usando o utilizador root, por linha de comandos.
mysql-h localhost-u root-p
2º) e correr o seguinte comando
mysql> set GLOBAL read_only = true;
3º) Para verificar se o comando está assumido basta executar o seguinte comando:
4º) Para voltar a colocar online basta correr o seguinte comando
mysql> set GLOBAL read_only = false;
Et Voilá, espero que tenha sido útil.
Subscrever:
Enviar feedback (Atom)
Unexpected Kernel Mode Trap while using Office 2016
I have been fighting with my computer searching for a fix for Unexpected Kernel Mode Trap when I attempt to open attachments in Outlook 2...
-
I have been fighting with my computer searching for a fix for Unexpected Kernel Mode Trap when I attempt to open attachments in Outlook 2...
-
Como fazer um script de MSDOS para Reiniciar Serviço de um Servidor Remotamente: 1º) Fazer o download do programa psexec . 2º) Criar uma...
-
Problema: The message could not be sent to the SMTP server. The transport error code was 0x800ccc6f. The server response was 554 5.1.0 Sende...
Sem comentários:
Enviar um comentário