Closed enesgur closed 9 years ago
Your DB config is not complete, it is missing the delimiter needed to escape the column names.
But my migration is running...
My db.php
'default' => array(
'type' => 'pdo',
'connection' => array(
'dsn' => 'mysql:host=localhost;dbname=fuelphp',
'username' => 'username',
'password' => 'password',
'persistent' => false,
'compress' => false,
),
'identifier' => '',
'table_prefix' => '',
'charset' => 'utf8',
'enable_cache' => true,
'profiling' => true,
'readonly' => false,
),
it is missing the delimiter needed to escape the column names.
I didn't understand. What should I do?
Set the identifier to the backtick, which is the delimiter for MySQL. This is described in the docs if I'm not mistaken, and it's also defined like that in the default db config in the core...
İt's worked!
in db.php
'identifier' => '',
to 'identifier' => '`',
Thanks :)
Hi everyone,
I'm using FuelPHP 1.7.3. I couldn't use simpleauth. After I running
php oil r migrate packages=auth
, i'm look following errors.Any Table is not defined in the database and I'm not defined any migration.
MySQL Version:
mysql Ver 14.14 Distrib 5.6.24, for osx10.10 (x86_64) using EditLine wrapper
PHP Version:PHP 5.5.24 (cli)