LTillner
|
Posted: 01/07/2002, 7:09 PM |
|
I have installed both the Employee Directory and the Portal aps on my site and get the same response from both:
The code dies when it is trying to connect to the Database -- it's trying to connect as ODBC and I am using MySQL on a Unix server.... do these apps require Microsoft??? If not, which is what I was led to believe (that they WORKED with MySQL) how to I modify the connect function to find the SQL database and NOT look for an ODBC connection.
I would appreciate any help!
|
|
|
Alex Alexapolsky
|
Posted: 01/08/2002, 1:36 AM |
|
If you mean the apps available on gotocode.com, these are generated with ODBC
support , if you used CC to generate them from .ccs project file you could change "database type" option from "ODBC" to "MYSQL" and re-generate the site.
To modify the code you should
1) modify common.php to match correct DATABASE_NAME
2) Replace db_odbc.inc file with db_mysql.inc file.
Both are generated by CC , but you can also get them from popular and available PHPLIB distribution
|
|
|
|