How to connect with oracle database?
post by barrcode on Apr 14, 2022
post by johnny on Apr 15, 2022
Hello @barrcode,
You can connect by having the driverName as: Oci8 at the database configuration file according to the documentation here: Introduction - laminas-db - Laminas Docs (Grocery CRUD Enterprise is using laminas DB)
An example could be:
private function _getDbData() {
$db = (new \Config\Database())->default;
return [
'adapter' => [
'driver' => 'Oci8',
'host' => $db['hostname'],
'database' => $db['database'],
'username' => $db['username'],
'password' => $db['password'],
]
];
}
post by barrcode on Apr 15, 2022
excellent, yes i will try, thank you very much.
post by barrcode on Apr 16, 2022
thanks man, I already added the functionality on adapter so that it can be implemented in oracle.
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use callbackColumn() but keep inline edit functionality |
|
3 | 657 | Apr 12 |
| callbackColumn() has not effect in v3.2.6 Enterprise |
|
2 | 699 | Dec 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 878 | Jan 5 |
| Inline edit has problems if the column width is set |
|
2 | 848 | Feb 28 |
| “Ooooops, something went wrong! If you can see this message, this is probably a misconfiguration in Grocery CRUD Enterprise!” |
|
6 | 268 | 9d |