CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 How do I change these apps so they see MySQL???

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.