php - Doctrine 2. Cannot create schema -
php - Doctrine 2. Cannot create schema -
> php doctrine-cli.php orm:schema-tool:create
attention: operation should not executed in production environment.
creating database schema...
[doctrine\orm\tools\toolsexception] schema-tool failed error 'could not find driver' while executing ddl: create table comment (id int auto_increment not null, parentid int not null,
i utilize connecting options
$connectionoptions = array( 'driver' => 'pdo_mysql', 'user' => 'root', 'password' => 'password', 'host' => 'localhost', 'dbname' => 'interview2', 'charset' => 'utf8' );
doctrine has pdomysql in drivers directory. problem? how can solve problem?
php database doctrine2 doctrine kohana
Comments
Post a Comment