createTables('MsAccess'); ## 2. Connect to MySQL database and create tables. /* // Connect to MySQL database with user defined connection settings $rdf_database = ModelFactory::getDbStore('MySQL', 'localhost', 'db_name', 'user_name', 'password' ); // Create tables for MySQL $rdf_database->createTables('MySQL'); */ ## 3. Connect to other databases /* // Example: // Connect to Oracle database with user defined connection settings $rdf_database = ModelFactory::getDbStore('Oracle', FALSE, 'db_name', 'username', 'password' ); // Note: Method createTables() currently supports only MySQL and MsAccess. // If you want to use other databases, you will have to create tables by yourself // according to the abstract database schema described in the API documentation. */ ## 4. Close the database connection // Close the connection $rdf_database->close(); ?>