Operating System - Linux
1754358 Members
4656 Online
108813 Solutions
New Discussion юеВ

unixODBC - Problems in the execution of isql

 
Paulo Cesar
New Member

unixODBC - Problems in the execution of isql

I installed the unixODBC in the HP-UX 11.11 driver but when I execute isql, returns the following error:

----- ERROR -----
[01000][unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc3.sl' : Call to mmap() failed - TEXT /usr/local/lib/libmyodbc3.sl
[ISQL]ERROR: Could not SQLConnect

----- DRIVER -----
/usr/local/lib
usrv45: ls -la libmyodbc3.sl
-rwxrwxrwx 1 ora817 dba 229376 Nov 30 18:40 libmyodbc3.sl

----- ODBC.INI -----
[ODBC Data Sources]
mysql1 = MySQL ODBC 3.51 Driver DSN
[mysql1]
Driver = /usr/local/lib/libmyodbc3.sl
Description = MySQL ODBC 3.51 Driver DSN
#Setup = /usr/local/lib/libodbcmyS.sl
SERVER =
PORT =
USER = teste
Password = testar
Database = banco_teste
OPTION = 3
SOCKET =


Why is this error occurring?
3 REPLIES 3
Paulo Cesar
New Member

Re: unixODBC - Problems in the execution of isql

Which are the necessary steps for the installation of unixODBC and the Driver Manager in the HP-UX 11.11 to access database MySQL in another machine, therefore I tried to install it but I must have committed some error in some point and now I do not obtain to discover which.

Somebody can help me?

OBS.: the other machine is Linux.
Steve Steel
Honored Contributor

Re: unixODBC - Problems in the execution of isql

Hi


looks like tuning of the memory .

ftp://eh:spear9@hprc.external.hp.com/memory.htm

If you see ├в out of memory├в or ├в not enough space├в when running an application, and there is pleny of free swap space then the application may be requesting shared memory or may be mapping files to memory (with shmget() and mmap() system calls respectively) and the problem may due to 32-bit memory limitation/contention

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Paulo Cesar
New Member

Re: unixODBC - Problems in the execution of isql

I believe that my problem is not memory, because my Hp-ux server version 11.11 is 64 bits.
Perhaps a problem with environment variable, some simple configuration that needs to make but that I am not finding.