Unable to access admin; Database tables aren't created.
Hey, I just followed the install guide and installed Fuel on my development server. However when I go to localhost/fuel_app/fuel and login with admin and admin I get the following error
A Database Error Occurred
Error Number: 1146
Table 'fuel_app.fuel_users' doesn't exist
SHOW COLUMNS FROM `fuel_users`
Filename: core/MY_Model.php
Line Number: 227
Anyway, my database file looks like this
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = '';
$db['default']['database'] = 'fuel_app';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
There are currently no tables installed on the fuel_app database. Is there a way I can automatically create all the required tables?
Comments