Ir ao conteúdo
  • Cadastre-se

Krause Carlos

Membro Júnior
  • Posts

    2
  • Cadastrado em

  • Última visita

Tudo que Krause Carlos postou

  1. @DiF , a estrutura que usei foi a seguinte: mysql> create database zabbix character set utf8 collate utf8_bin; É possível ver abaixo que a database foi criada normalmente, porém não consigo executar a ultima linha, pois acusa erro de sintáxe: [root@localhost szabbix]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 19 Server version: 8.0.17 Source distribution Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | sys | | zabbix | +--------------------+ 5 rows in set (0.00 sec) mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'password'; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'identified by 'password'' at line 1 mysql>
  2. Boa tarde a todos! Sou novo aqui e estou com um problema na criação inicial da base de dados no MySQL. Fiz todas as configurações iniciais recomendadas para poder criar a base de dados, mas sempre que chego na linha a seguir, o erro aparece: mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'password'; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'identified by 'password'' at line 1 Alguém que já passou por esse problema poderia me ajudar?

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...

 

GRÁTIS: ebook Redes Wi-Fi – 2ª Edição

EBOOK GRÁTIS!

CLIQUE AQUI E BAIXE AGORA MESMO!