logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

RE: powerbuilder application running in Linux connecting to mysql: msg#00051

db.mysql.odbc

Subject: RE: powerbuilder application running in Linux connecting to mysql


On 24-May-2006 Gestalt Consulting Inc. wrote:
> I have a powerbuilder program using MYSQL database running on a linux box.
> When the program is ran in the windows operating system, it uses a predefined
> DSN to connect to the database. The problem is that when i run the program in
> Linux, I cannot connect to the database even if i already installed MyODBC. I
> even tested the connection of the DSN I created in the Linux box and it is
> successful. However, when I ran the program in Linux, I am getting this
> message : " The allocation of the environment handle failed."
>
> thank you for your help
>
>
> JAY

There is probably some sort of environment variable you need to set up and
export before you run your application - I'd check your powerbuilder docs for
linux. What ODBC driver manager are you using? If it is unixODBC you can add:

[ODBC]
TraceFile = /tmp/sql.log
Trace = yes

to the top of your odbcinst.ini file and it may log further information in
/tmp/sql.log.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo