views:

62

answers:

0

Hello.

I got a script that create a new database, now I need to fill that database with tables and values (from a MySQL dump file).

I'm using PHP - Doctrine 1.2.

Here is how I create the database:

$manager = Doctrine_Manager::getInstance();  
$newConn = $manager->openConnection($customer->Config->db_connection_string);  
$newConn->createDatabase();  

How I do this?

Thanks!