When I try to create database using propel 1.3 and custom query I get error

SQLSTATE[HY000]: General error: 2030 This command is not supported in 
the prepared statement protocol yet


task code below:

$query = "CREATE DATABASE databasetest";
                                        $stmt = $con->prepare($query);

           $stmt->execute();


Is it possible to create database, user, grant privileges from propel 
for mysql5?? Anybody tried that?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to