Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mhg@mhg-PC:~$ ./argus2
- panic: Failed to connect database
- goroutine 1 [running]:
- panic(0x872420, 0xc42018ec20)
- /usr/local/go/src/runtime/panic.go:500 +0x1a1
- _/home/mostafa/go/argus2/application.dbConnection(0xc4201927e0)
- /home/mostafa/go/argus2/application/application.go:66 +0x351
- _/home/mostafa/go/argus2/application.init()
- /home/mostafa/go/argus2/application/application.go:24 +0x146
- main.init()
- /home/mostafa/go/argus2/run.go:33 +0x4c
- mhg@mhg-PC:~$ mysql -u argus argus
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 40
- Server version: 5.7.13-0ubuntu0.16.04.2 (Ubuntu)
- Copyright (c) 2000, 2016, 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 tables;
- +---------------------------------+
- | Tables_in_argus |
- +---------------------------------+
- | access |
- | alert |
- | average_process |
- | circuit |
- | device |
- | device_ip |
- | device_mac |
- | device_service |
- | device_ttls |
- | event |
- | group |
- | kpis |
- | message |
- | permission_user |
- | report_queries |
- | sensor |
- | sensor_unit |
- | sla |
- | sla_kpi |
- | snmp_config |
- | temp_device_service_destination |
- | user |
- +---------------------------------+
- 22 rows in set (0.00 sec)
- mysql>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement