im getting this error:
Unable to connect to your database server using the provided settings.
this is my database connection:
$db['default'] = array(
'dsn' => '',
'DB_HOST' => $_SERVER['RDS_HOSTNAME'],
'DB_USER' => $_SERVER['RDS_USERNAME'],
'DB_PASSWORD' => $_SERVER['RDS_PASSWORD'],
'DB_NAME' => $_SERVER['RDS_DB_NAME'],
'dbdriver' => 'mysqli',
'dbprefix' => '',
'pconnect' => FALSE,
'db_debug' => (ENVIRONMENT !== 'production'),
'cache_on' => FALSE,
'cachedir' => '',
'char_set' => 'utf8',
'dbcollat' => 'utf8_general_ci',
'swap_pre' => '',
'encrypt' => FALSE,
'compress' => FALSE,
'stricton' => FALSE,
'failover' => array(),
'save_queries' => TRUE
);
im not sure if its this code problem or elasticbeanstalk problem but im sure that ebs is connected with rds