Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- studioserver:/var/src/snep # cat /etc/asterisk/res_odbc.conf
- ; ---------------------------------------------------------------------
- ; odbc setup file
- ; ###OPENS###
- ; Ajustado para uso do SNEP, by Opens tecnologia
- ; ---------------------------------------------------------------------
- ; ENV is a global set of environmental variables that will get set.
- ; Note that all environmental variables can be seen by all connections,
- ; so you can't have different values for different connections.
- [ENV]
- ; All other sections are arbitrary names for database connections.
- [snep]
- dsn => MySQL-snep
- pre-connect => yes
- enabled => yes
- username => snep_user
- password => sneppass
- pre-connect => yes
- idlecheck => 3600
- studioserver:/var/src/snep # cat /etc/unixODBC/
- ODBCDataSources/ odbc.ini odbcinst.ini
- studioserver:/var/src/snep # cat /etc/unixODBC/odbc.ini
- ; ###OPENS###
- [MySQL-snep]
- Description = MySQL ODBC Driver
- Driver = MySQL ODBC 3.51.27r695 Driver
- Socket = /var/run/mysql/mysql.sock
- Server = localhost
- User = snep_user
- Password = sneppass
- Database = snep_db
- Option = 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement