Welcome Guest, Not a member yet? Register   Sign In
Automatically create database
#9

[eluser]drewbee[/eluser]
You are correct in that it cannot be extended.

You have yourself in a nice bind on this one. As I previously stated though, since the install.php will not be using code igniters framework, I would vouch for a custom build up. In that one file during database initialization create a statement that accepts input from a user as to what database they are using, and run the create accordingly.


mysql_db_name

Will get that, as well as mysql_list_tables.

There are all kinds of goodies in interacting with the database, and if really needed you could pick apart the different drivers and see how the forge interacts with it to handle each database system.

mysql functions


Messages In This Thread
Automatically create database - by El Forum - 09-22-2008, 04:20 PM
Automatically create database - by El Forum - 09-23-2008, 01:07 AM
Automatically create database - by El Forum - 09-23-2008, 12:40 PM
Automatically create database - by El Forum - 09-23-2008, 12:56 PM
Automatically create database - by El Forum - 09-23-2008, 01:04 PM
Automatically create database - by El Forum - 09-23-2008, 01:07 PM
Automatically create database - by El Forum - 09-23-2008, 01:38 PM
Automatically create database - by El Forum - 09-23-2008, 05:12 PM
Automatically create database - by El Forum - 09-23-2008, 05:18 PM
Automatically create database - by El Forum - 09-23-2008, 05:37 PM
Automatically create database - by El Forum - 09-24-2008, 12:25 AM
Automatically create database - by El Forum - 09-25-2008, 01:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB