Advertisement
Guest User

Untitled

a guest
May 27th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.15 KB | None | 0 0
  1. studioserver:/var/src/snep # cat /etc/asterisk/res_odbc.conf
  2. ; ---------------------------------------------------------------------
  3. ; odbc setup file
  4. ; ###OPENS###
  5. ; Ajustado para uso do SNEP, by Opens tecnologia
  6. ; ---------------------------------------------------------------------
  7. ; ENV is a global set of environmental variables that will get set.
  8. ; Note that all environmental variables can be seen by all connections,
  9. ; so you can't have different values for different connections.
  10. [ENV]
  11.  
  12. ; All other sections are arbitrary names for database connections.
  13.  
  14. [snep]
  15. dsn => MySQL-snep
  16. pre-connect => yes
  17. enabled => yes
  18. username => snep_user
  19. password => sneppass
  20. pre-connect => yes
  21. idlecheck => 3600
  22. studioserver:/var/src/snep # cat /etc/unixODBC/
  23. ODBCDataSources/ odbc.ini         odbcinst.ini    
  24. studioserver:/var/src/snep # cat /etc/unixODBC/odbc.ini
  25. ; ###OPENS###
  26. [MySQL-snep]
  27. Description     = MySQL ODBC Driver
  28. Driver          = MySQL ODBC 3.51.27r695 Driver
  29. Socket          = /var/run/mysql/mysql.sock
  30. Server          = localhost
  31. User            = snep_user
  32. Password        = sneppass
  33. Database        = snep_db
  34. Option          = 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement