php - Can't connect to Oracle DB in Amazon AWS -


i use code connect oracle db on amazon:

public $driver_name = 'oci8'; public $hostname = 'xyz.xyz.us-west-2.rds.amazonaws.com:1521/xyz'; public $db_name = ''; public $db_user = 'username'; public $db_pass = 'password'; public $charset = 'al32utf8';    $adodb = newadoconnection($this->driver_name); $adodb->charset = $this->charset ; $adodb->connect($this->hostname, $this->db_user, $this->db_pass, $this->db_name); $adodb->setcharset($this->charset);  

i can't connect oracle db, please need solved it?

thanks.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -