EllisLab text mark
Advanced Search
     
A Database Error
Posted: 12 November 2012 02:04 AM
Joined: 2012-11-08
9 posts

Unable to select the specified database: mydb

Filename: system\database\DB_driver.php

Can anyone help me what i need to do.

 
Posted: 12 November 2012 04:25 AM   [ # 1 ]   [ Rating: 0 ]
Joined: 2010-07-20
74 posts

You probably haven’t correctly set your database connection located in /config/database.php

$db['default']['hostname''localhost'// or distant DB
$db['default']['username'''// User able to connect to your db, blank or "root" in local
$db['default']['password'''// You should know it
$db['default']['database'''// The name of your DB
$db['default']['dbdriver''mysql'// If it's running on mysql