Ad Widget

Collapse

Problem to import DB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amartinsrj
    Junior Member
    • Aug 2019
    • 2

    #1

    Problem to import DB

    Hi friends!

    I´m new on Zabbix.

    I´m tryng to install from this link (https://www.zabbix.com/documentation...importing_data)

    When a try to import a data (zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix) i have the error bellow:
    Enter password: gzip: /usr/share/doc/zabbix-server-mysql*/create.sql.gz: No such file or directory

    Can you help me?

    Regards

  • hokiecolt67
    Junior Member
    • Aug 2019
    • 13

    #2
    amartinsrj - Hello! You'll need to replace the * with the version of zabbix you're installing. The command line argument will be as follows:

    zcat /usr/share/doc/zabbix-server-mysql-4.2.5/create.sql.gz | mysql -u zabbix -p zabbix

    If you're not sure, go to the /usr/share/doc folder and list the contents. There should be a zabbix-server-mysql-<version> folder.

    Good luck!

    Comment

    Working...