can not connect database: can not open database file

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 3.0.3
    • Component/s: Server (S)
    • None
    • Environment:
      CentOS6.7,Php-7.0.6,,Mysql-5.7

      I dump mysql zabbix(version 2.2.3) database file as sql.
      And I souce it to a new database, then starting zabbix_server.
      The log shows:
      [Z3001] connection to database 'zabbix3' failed: [0] unable to open database file.

      I check zabbix account to login mysql: mysql -uzabbix -p1235! -h 127.0.0.1(could login into database), alse the zabbix3 database will display on the command line

      On the zabbix.com's document:starting zabbix-server(v3.0) will auto upgrade zabbix's database(v2.0) to v3.0. Why it show the problems

            Assignee:
            Unassigned
            Reporter:
            qiyongxiao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: