Advertisement
Guest User

Untitled

a guest
Aug 31st, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. mhg@mhg-PC:~$ ./argus2
  2. panic: Failed to connect database
  3.  
  4. goroutine 1 [running]:
  5. panic(0x872420, 0xc42018ec20)
  6. /usr/local/go/src/runtime/panic.go:500 +0x1a1
  7. _/home/mostafa/go/argus2/application.dbConnection(0xc4201927e0)
  8. /home/mostafa/go/argus2/application/application.go:66 +0x351
  9. _/home/mostafa/go/argus2/application.init()
  10. /home/mostafa/go/argus2/application/application.go:24 +0x146
  11. main.init()
  12. /home/mostafa/go/argus2/run.go:33 +0x4c
  13.  
  14.  
  15.  
  16. mhg@mhg-PC:~$ mysql -u argus argus
  17. Reading table information for completion of table and column names
  18. You can turn off this feature to get a quicker startup with -A
  19.  
  20. Welcome to the MySQL monitor. Commands end with ; or \g.
  21. Your MySQL connection id is 40
  22. Server version: 5.7.13-0ubuntu0.16.04.2 (Ubuntu)
  23.  
  24. Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
  25.  
  26. Oracle is a registered trademark of Oracle Corporation and/or its
  27. affiliates. Other names may be trademarks of their respective
  28. owners.
  29.  
  30. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  31.  
  32.  
  33.  
  34.  
  35. mysql> show tables;
  36. +---------------------------------+
  37. | Tables_in_argus |
  38. +---------------------------------+
  39. | access |
  40. | alert |
  41. | average_process |
  42. | circuit |
  43. | device |
  44. | device_ip |
  45. | device_mac |
  46. | device_service |
  47. | device_ttls |
  48. | event |
  49. | group |
  50. | kpis |
  51. | message |
  52. | permission_user |
  53. | report_queries |
  54. | sensor |
  55. | sensor_unit |
  56. | sla |
  57. | sla_kpi |
  58. | snmp_config |
  59. | temp_device_service_destination |
  60. | user |
  61. +---------------------------------+
  62. 22 rows in set (0.00 sec)
  63.  
  64. mysql>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement