Displaying 19 results from an estimated 19 matches for "libmyodbc".
2017 Jun 08
2
Working around missing libmyodbc in Debian Stretch
Hello,
I'm building a new Asterisk system from source on Debian Stretch.
My building script fails as package libmyodbc is currently missing from
Debian Stretch repo.
Is there a work around this without leaving MySQL/MariaDB galaxy ?
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170608/0a62568e/attachm...
2019 Oct 12
3
setting up ODBC for cdr logging into MariaDB
Hello,
I am trying to set up cdr logging into MariaDB through ODBC.
I have installed unixodbc unixodbc-dev and now I am struggling with
configuring /etc/odbcinst.ini
All the examples online use non-existent libraries, ie:
[MySQL]
Description = MySQL ODBC MyODBC Driver
Driver = /usr/lib/x86_64-linux-gnu/odbc/libmaodbc.so
Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so
FileUsage = 1
I have
2005 Feb 22
6
rodbc or unixodbc error
Hi,
I'm trying to establish a connection to a MySQL database, and am using the
rodbc package for it. This is in a GNU/Debian Linux box, with the
corresponding Debian unstable packages. I can login to my MySQL databases
from any shell and directory, so the problem is probably not there. Here's
an example of what I'm doing:
R> odbcConnect("test",
2012 Jun 18
4
Asterisk 1.8.13.0 / problem with cdr logging (mysql, odbc)
...Description = MySQL ODBC Driver
Driver = MySQL
Socket = /var/run/mysqld/mysqld.sock
Server = localhost
User = xxx
Password = xxx
Database = asterisk
Option = 3
Port =
and
/etc/odbcinst.ini
--------------------
[MySQL]
Description = MySQL ODBC MyODBC Driver
Driver = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
FileUsage = 1
When testing this setup I can see, that this basic setup ist fine:
~$ isql MySQL-asterisk asterisk qpalym -v
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| h...
2006 Apr 11
1
ODBC and Mysql
...lem. However, when I use the ODBC Data
Sources in the Control Center of "wt", I get a "Specified SQL server not
found".
I originally used: LIB_ODBC_DRIVER_MANAGER=/usr/lib/libodbc.so.1.0.0
with the symlink indicated.
I have since tried
LIB_ODBC_DRIVER_MANAGER=/usr/lib/lib/libmyodbc-2.50.39.so with a symlink
of "libmyodbc.so".
I have set WINDEBUG=+odbc32 but haven't seen much more on the screen,
unless I'm doing that wrong.
Nothing I've read thus far indicates that I have to install a Windows
version of MYSQL drivers. I have read some conflicing info...
2009 May 05
1
Asterisk cdr_odbc problems
...but it can't connect
through my odbc driver.
switchboard*CLI> module load cdr_odbc
[May 4 20:06:04] ERROR[17758]: cdr_odbc.c:358 odbc_load_module:
cdr_odbc: Unable to connect to datasource: asterisk
/etc/odbcinst.ini:
[MySQL]
Description = MySQL driver
Driver = /usr/lib/odbc/libmyodbc.so
Setup = /usr/lib/odbc/libodbcmyS.so
/etc/odbc.ini:
[asterisk]
Description = asterisk ODBC
Driver = MySQL
Socket = /var/run/mysqld/mysqld.sock
Server = localhost
User = asterisk
Password = mysql_password
Database = asteri...
2004 Jul 22
1
app_dbodbc URGENT
...put'
== Registered application 'ODBCdel'
== Registered application 'ODBCdeltree'
My odbc.conf
[global]
dsn = MySQL-asterisk
username = asterisk
password = ******
My odbc.ini
[ODBC Data Sources]
MySQL-asterisk = Asterisk PBX
[MySQL-asterisk]
Driver = /usr/local/lib/libmyodbc.so
Description = Asterisk PBX
SERVER = localhost
PORT = 3306
USER = asterisk
PASSWORD = DIDO1223
DATABASE = asterisk
TRACEFILE = /tmp/odbc.trace
TRACE = 1
2010 May 24
1
[0017330] 1.6.1 and 1.6.2 + MySQL crases on ODBC Query (via func_odbc or sip realtime)
Hi,
I'm expiriencing very annoying issue with Asterisk while using ODBC
on Linux box running Debian with following packages:
Asterisk-node0:/tmp# dpkg -l | grep -i odbc
ii libiodbc2 3.52.6-2
iODBC Driver Manager
ii libmyodbc 3.51.15r409-4 the
MySQL ODBC driver
ii libodbcinstq1c2 2.2.11-16
Qt-based ODBC configuration library
ii odbcinst1debian1 2.2.11-16
Support library and helper program for acces
ii...
2008 Jul 21
1
RODBC - problems using odbcDriverConnect without DSN
Hi,
I'm trying to use RODBC without having to set up a DSN, using hte
direct connection string in odbcDriverConnect. My connection attempt
looks something like:
> odbcDriverConnect(connection = "SERVER=localhost;DRIVER={/usr/lib/odbc/libmyodbc.so};DATABASE=myDB;UID=reader;PASSWORD=insecure;")
And this returns the message:
Warning messages:
1: In odbcDriverConnect(connection = conn) :
[RODBC] ERROR: state IM002, code 0, message [unixODBC][Driver
Manager]Data source name not found, and no default driver specified
2: In odbcDriverCo...
2005 Jul 27
5
cdr_mysql does not write to mysql db
Hi,
I configured cdr_mysql (addons 1.0.9) to write the cdr records to the mysql db.
The problem is that no records are written to the db. Why?
I can import the csv-file to the db. so i assume the db is setup correct.
Is there any chance to get debug from cdr_mysql to find his problem?
This is my cdr_mysql.conf file:
[global]
hostname=localhost
dbname=cdr
password=passw0rd
user=root
;port=3306
2006 Oct 29
1
Asterisk Voicemail with ODBC Realtime Access
...o not use it, then, I get another error message : "res_config_odbc.c:
SQL Alloc Handle failed!" when I try to access the voicemail.
Any ideas would be more than welcome !
Thanks !
*Here is my config*
/etc/odbcinst.ini
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
/etc/odbc.ini
[MySQLast]
Description = MySQL ODBC Driver Testing
Driver = MySQL
#Socket = /var/run/mysqld/mysqld.sock
Trace = Yes
TraceFile = odbc_mysql.log
Server = localhost
User...
2004 Jan 09
1
R and Postgresql (DBI)
Hi,
I'm running Debian (Sid), Postgres (7.3.4) and
R (1.8.1).
I get the following error when I tri to use DBI
>library("DBI")
> p <- dbDriver("PostgreSQL")
Error in do.call(as.character(drvName), list(...)) :
couldn't find function "PostgreSQL"
Is there any other package I need in order to
interface between R and Postgres ?
2007 Oct 01
1
ODBC version for cdr?
...low that. Any help would be appreciated.
unixODBC-2.2.11-7.1
unixODBC-devel-2.2.11-7.1
mysql-connector-odbc-3.51.12-2.2
mysql-5.0.22-2.1
Contents of odbcinst.ini
# Driver from the MyODBC package
# Setup from the unixODBC package
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib/libmyodbc.so
Setup = /usr/lib/libodbcmyS.so
FileUsage = 1
checking for SQLConnect in -lodbc... no
configure: ***
configure: *** The unixODBC installation on this system appears to be broken.
configure: *** Either correct the installation, or run configure
configure: *** without explicitly sp...
2006 Nov 05
1
Reading Voicemail Config from MySQL
Hi all,
I have been trying to get my asterisk (v1.2.10) to lookup voicemail
config data from my mysql database as opposed to voicemail.conf +
sip.conf for my users. Users register with SER and get passed through
to asterisk when they dial out. I followed the instructions as per
http://www.voip-info.org/wiki/view/Asterisk+voicemail+database
so basically I have
1) Build asterisk-addons-1.2.5 and
2008 Feb 23
2
MySQL Voicemail Storage Questions\Errors
...age
#[PostgreSQL]
#Description = ODBC for PostgreSQL
#Driver = /usr/lib/libodbcpsql.so
#Setup = /usr/lib/libodbcpsqlS.so
#FileUsage = 1
# Driver from the MyODBC package
# Setup from the unixODBC package
[MySQL]
Description = ODBC for MySQL
Driver = /usr/lib64/libmyodbc3.so
Setup = /usr/lib64/libodbcmyS.so
FileUsage = 1
You have new mail in /var/spool/mail/root
[root at Aiur asterisk]# cat /etc/odbc.ini
[astrealtime]
Description = Asterisk realtime FUNC_ODBC access
Driver = MySQL
Socket = /var/lib/mysql/mysql.sock
Server...
2016 Feb 09
2
CDR ODBC error
I am trying to get cdr via odbc to work on Asterisk 13.7.2 but I
keep getting this error:
[Feb 9 16:21:43] WARNING[2088]: cdr_odbc.c:160 execute_cb: cdr_odbc:
Error in ExecDirect: -1, query is: INSERT INTO cdr
(calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,peeraccount,linkedid,sequence)
VALUES ({ts
2016 Jan 18
2
Segmentation Fault Asterisk 13.7.0-rc2 (libmysqlclient?)
...fault.
#0 0x00007f1e02e8a120 in list_add () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
#0 0x00007f1e02e8a120 in list_add () from /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18
No symbol table info available.
#1 0x00007f1e0339d132 in my_SQLAllocStmt () from /usr/lib/x86_64-linux-gnu/odbc/libmyodbc.so
No symbol table info available.
#2 0x00007f1e38354af4 in ?? () from /usr/lib/x86_64-linux-gnu/libodbc.so.2
No symbol table info available.
#3 0x00007f1e01e8f16f in custom_prepare (obj=0x1e588c8, data=0x7f1dc8a289b0) at res_config_odbc.c:107
res = 0
x = 1
count = 0...
2004 Jul 22
4
VSP? Looking for advice.
...gistered application 'ODBCdeltree'
>
> My odbc.conf
> [global]
> dsn = MySQL-asterisk
> username = asterisk
> password = ******
>
> My odbc.ini
> [ODBC Data Sources]
> MySQL-asterisk = Asterisk PBX
>
> [MySQL-asterisk]
> Driver = /usr/local/lib/libmyodbc.so
> Description = Asterisk PBX
> SERVER = localhost
> PORT = 3306
> USER = asterisk
> PASSWORD = DIDO1223
> DATABASE = asterisk
> TRACEFILE = /tmp/odbc.trace
> TRACE = 1
>
>
>
>
> ______________________________________...
2003 Dec 31
1
RFC on first public draft of 'Debian R Policy'
...ptional
Maintainer: Dirk Eddelbuettel <edd@debian.org>
Build-Depends: debhelper (>>4.1.0), cdbs, r-base-dev (>> 1.7.1), unixodbc-dev
Standards-Version: 3.6.1.0
Package: r-cran-rodbc
Architecture: any
Depends: ${shlibs:Depends}, r-base-core (>= 1.7.1)
Suggests: odbc-postgresql, libmyodbc
Description: GNU R package for ODBC database access
This CRAN package provides access to any Open DataBase Connectivity (ODBC)
accessible database.
.
The package should be platform independent and provide access to any
database for which a driver exists. It has been tested with MySQL
and Po...