Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
odbc php connection fail(SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dracozny
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2004
Posts: 86

PostPosted: Fri Dec 22, 2006 6:42 pm    Post subject: odbc php connection fail(SOLVED) Reply with quote

SOLVED after uninstalling iodbc I should have restarted apache2 instead of apache



trying to get my odbc connection to work and every time i get a fail from iodbc, but i do not have iodbc installed.

Code:

 # emerge --search iodbc
Searching...
[ Results for search key : iodbc ]
[ Applications found : 1 ]

*  dev-db/libiodbc
      Latest version available: 3.52.4
      Latest version installed: [ Not Installed ]
      Size of files: 705 kB
      Homepage:      http://www.iodbc.org/
      Description:   ODBC Interface for Linux.
      License:       LGPL-2 BSD


Code:

Warning: odbc_connect() [function.odbc-connect]: SQL error: [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded, SQL state IM002 in SQLConnect in /var/www/localhost/htdocs/openlimbas/admin/install/setup.php on line 70
Database-Connection failed ... !


if I use isql it finds my database connection just fine, the only odbc manager i have installed is unixODBC. so I am a little puzzled by the statement from php.
_________________
“I do not think there is any thrill that can go through the human heart like that felt by the inventor as he sees some creation of the brain unfolding to success... Such emotions make a man forget food, sleep, friends, love, everything.”
-Nikola Tesla-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum