Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to use PHP to connect to coudera Impala?

avatar
New Contributor

Hello,
Is there any way to connect Cloudera Impala throught PHP script?
I'm working with WordPress and require get data from Cloudera Impala DB. I have url, username and password to access it.

1 REPLY 1

avatar

@Ekodar You will need to use a driver to connect php to impala.  Quick search and this looks promising:

 

https://docs.cloudera.com/documentation/other/connectors/impala-jdbc/latest/Cloudera-JDBC-Driver-for...

 

Here is another example with more details showing actual php code:

 

https://www.cdata.com/kb/tech/impala-odbc-php.rst