Developer
|
| Posted: 12/03/2002, 12:02 PM |
|
Hi
I'm trying to make a web portal using the solutions in CC.
I've both MySql and apache server installed on my machine.
I've the MyODBC driver well configured too.
When CC generate the files i set my connection to MySQL, then building the good connection string using ODBC provider. When I test the connexion everything's ok.
My problem is : when i want to publish the website, CC doesn't generate the database, not even a tables generation script. But if I choose an Access DB instead, CC create the right .mdb.
Why doesn't it work with MySQL ?
Thanks for your help :)
|
|
|
 |
imranz
|
| Posted: 12/03/2002, 1:00 PM |
|
CC isn't actually creating the .mdb. If you look in your program files/codecharge/examples folder, where all the source files for the sample projects lie, each app that uses access has an access .mdb file in there that was developed by YesSoftware. All CC does is move this to the place where you publish your project for the first time. It's not actually creating the .mdb file on the fly.
As with MSSQL or MYSQL, if you go further into one of the SQL folders in the sample project's source folder (for example, program files/codecharge/examples/bookstore/SQL) you will see script files for scripting either the MSSQL or MYSQL database. If you don't know what that means, or what a script file does, I'd recommend finding a beginners book or online tutorial on MYSQL as it will guide you in the appropriate direction from there.
|
|
|
 |
|