GRID 4 PHP AND ORACLE

QuestionsGRID 4 PHP AND ORACLE
Emidio MOrganti asked 2 years ago

Hello, I am Morganti of EMMECI software teramo (ITALY).
My email of registration is [email protected]

we downloaded and installed the latest version of the software (free version).
We are in the testing phase, we will update the version shortly that we bought several years ago, in the PREMIUM LICENSE version

We loaded the db on a MYSQL DataBase and configured the config.php file
define (“PHPGRID_DBTYPE”, “mysqli”);
define (“PHPGRID_DBHOST”, “localhost”);
define (“PHPGRID_DBUSER”, “root”);
define (“PHPGRID_DBPASS”, “Emmeci01”);
define (“PHPGRID_DBNAME”, “PHPGRID”);
This way everything works perfectly.

We loaded the db on an ORACLE 12C DataBase and configured the config.php file
define (“PHPGRID_DBTYPE”, “oci8”);
define (“PHPGRID_DBHOST”, “testpc”);
define (“PHPGRID_DBUSER”, “SYS”);
define (“PHPGRID_DBPASS”, “********”);
define (“PHPGRID_DBNAME”, “GRIDDEMO”);
So it doesn’t work, we have the following error :

Errore:
Please check your database connection configuration. ORA-12514: TNS: listener does not currently know of service requested in connect descriptor

Did we do something wrong?
A LISTENER must be configured on the configuration file.
Or the free version does not include ORACLE.

Thank you

Emidio Morganti

1 Answers
Abu Ghufran Staff answered 2 years ago

Hi Morganti,

It’s nice to see your email. The free version do support oracle and your code looks file. We tried with giving IP:PORT asĀ PHPGRID_DBHOST.

Please test PHP connection with Oracle using (non-datagrid) basic php script. If this basic connection works, Share the connection code with me and I’ll suggest the equivalent.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

10 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?