mysql connection through php using odbc

Problems with the Linux version of XAMPP, questions, comments, and anything related.

mysql connection through php using odbc

Postby tay036 » 02. May 2007 18:38

I have php code that connects to a remote mysql database which only accepts odbc connections. When I try to access that php code through browser the error I get is:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'odbcca01.rightnow.com' (4) in /opt/lampp/htdocs/Store_Portal/dbconnect.php on line 9
Unable to connect to MySQL

This works fine when running from Windows but having trouble getting it work in Linux. I know that odbc drivers are built in for the Windows distribution. How do I make this work in Linux???

Thanks you kindly
tay036
 
Posts: 1
Joined: 02. May 2007 18:22
Location: florida

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests