php - cakePHP , cant connect to database , XAMPP on windows -


im recieving error...

"cake not able connect database. database connection "mysql" missing, or not created."

ive tried ive read on google,

extension=php_pdo_mysql.dll there in php.ini , not commented out... changed host whats seen below instead of localhost ive added port, doesnt make difference. have double checked username , password , db name.

am missing obvious?

class database_config {  public $default = array(      'datasource' => 'database/mysql',     'persistent' => false,     'host' => '127.0.0.1',     'login' => 'cakeshop',     'password' => 'connect',     'database' => 'cakeshop',     'prefix' => '',     'port' => '/tmp/mysql.sock'     //'encoding' => 'utf8' );  public $test = array(     'datasource' => 'database/mysql',     'persistent' => false,     'host' => '127.0.0.1',     'login' => 'cakeshop',     'password' => 'connect',     'database' => 'cakeshop',     'prefix' => '',     'port' => '/tmp/mysql.sock'     //'encoding' => 'utf8' ); } 


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -