Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8426375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:31:17+00:00 2026-06-10T04:31:17+00:00

I am using Perl 5.14.2 on Ubuntu wheezy 64 bit. I am trying to

  • 0

I am using Perl 5.14.2 on Ubuntu wheezy 64 bit.

I am trying to connect to a Pervasive SQL server v9.5 that is installed on a windows 2008 machine.

I tested the connection with isql and it works properly, I tested with the following command:

isql -v <db_name>

I use the DBD:ODBC v1.39 (latest version) perl module installed from cpan.

I am using the following command to connect to sql server:

use DBI;
my $db = DBI->connect('dbi:ODBC:Moked');

Moked is the connection name that was defined in the unixodbc v2.2.14 in odbc.ini.

/etc/odbc.ini

[Moked]
Driver=PERVASIVE_ODBC
Description=Pervasive ODBC Interface: Moked
ServerName=<ip>:<port>
DBQ=MIDA
UID=
PWD=
OpenMode=0
PvTranslate=

when I try to connect with the command i showed above I get error SQL-HY001 that by googling I understood that it relates to memory allocation, usually people get these while querying and not while trying to connect/

it seems that DBI does recognize the connection because if I type a different name, for example ‘Moked2’, i get the error SQL-IM002 instead.

any ideas?
how can I debug this issue further?
any information regarding the issue would be greatly appreciated.

thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:31:18+00:00Added an answer on June 10, 2026 at 4:31 am

    You are getting the memory allocation error because the PSQL v11 client cannot reliably connect to a PSQL v9.5 server. If you want to use the v11 client, you need the v11 server too. You might be able to get away with the v11 client at a Btrieve level but there were significant changes between v9 and v11 on the ODBC side.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

trying to automate using perl scripts on windows server using MediaWiki::Bot and Mediawiki::API taken
I'm trying to run a perl script on my Ubuntu server using cron. I
Using perl 5.8.8 on windows server I am writing a perl cgi script using
I have perl 5.10.1 installed on my ubuntu machine. I wanted to install the
Using Perl, how do I check if a particular Windows process is running or
I am using Perl to connect to a Site, parse its HTML and extract
Using Perl's XML::LibXSLT necessitates that I use XSLT 1.0, which means that I am
Using Perl, how can I determine whether my program is running on 32 bit
I'm using Perl to connect to 2 different databases (MySQL and Sybase) using DBI,
Duplicate data removal using Perl called within via a batch file within Windows A

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.