IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

Connecting to MS SQL 6.x+ via Openlink/PHP/ODBC mini-HOWTO

Search Howtos :Match :
Next Previous Contents

2. Openlink

This step is a little bit complicated. You have to done works on both sides of your Linux client machine and NT server.

2.1 On the Client

  • From ftp://www.openlinksw.com/, download install.sh and likoxglc.taz (for a libc6 system) or likoxxxx.taz (for a libc5 system).
  • mkdir /usr/local/openlink
  • copy install.sh and likoxglc.taz into /usr/local/openlink
  • cd /usr/local/openlink
  • sh install.sh, the install script will ask you the owner and group of the program. It will extract things to odbcsdk directory under /usr/local/openlink and copy a .odbc.ini into the owner's home directory.

2.2 On the Server

  • From ftp://www.openlinksw.com/, download ntadm65x.zip onto your NT server.
  • unzip ntadm65x.zip
  • cd disk1 - directory of where you unzip the package.
  • execute setup and follow the instructions to install the Openlink middleware.
  • remember to start Openlink request broker from start menu or service control panel.

2.3 Configuration Before Test

  • keep the .odbc.ini file in your home directory.
  • copy the udbc.ini from the bin directory of Openlink middleware install directory to the /etc directory of client.
  • customize /etc/udbc.ini. In [dsn_sql6] section, change the host, database, username and password entries to fit your server settings. Here is part of my /etc/udbc.ini:
      [dsn_sql6]
      Host            = 10.0.0.1
      ServerType      = sql6
      ;ServerOptions  =
      Database        = pubs
      ;FetchBufferSize = 30
      UserName        = sa
      Password        = xxxxxxx
    
  • add to your environment LD_LIBRARY_PATH='/usr/local/openlink/odbcsdk/lib' and export it. In csh shell, type: setenv LD_LIBRARY_PATH /usr/local/openlink/odbcsdk/lib

2.4 Text with odbctest

  • cd /usr/local/openlink/odbcsdk/examples
  • ./odbctest
  • type: dsn=dsn_sql6
  • when 'sql>' appears, you can execute your sql clauses to test the connection.


Next Previous Contents
Search Howtos :Match :
DbVisualizer 6.5.2
The Universal Database Tool
PhpMyAdmin 3.1.2 rc1
Php front-end to MySQL administration
Xine 1.1.6
Free video player
Glade 3.5.5
User interface builder for GTK+ and Gnome
Evolution 2.25.4
GNOME mailer, calendar, contact manager and communications tool
GEdit 2.25.4
Small but powerful text editor
LimeWire 5.0.4
Gnutella Client
WebGUI 7.6.8
A fully featured content management system.
GTK2 2.14.7
GUI Toolkit
Brasero 0.9.0
Application to burn CD/DVD
Free IT Magazines, White Papers, eBooks, and more !
Dr. Dobb's Journal

Dr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries.

The 7 Things that IT Security Professionals MUST KNOW!

Gain key insight into security problem and find the safest means to protect your technological assets.

Database Trends and Applications

Provides timely coverage of the technology, intelligence and insight needed to plan, implement and manage information-rich projects.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info