lalinsky / python-phoenixdb

Phoenix database adapter for Python (migrated to the Apache Phoenix repo)
https://issues.apache.org/jira/browse/PHOENIX-4636
Apache License 2.0
26 stars 24 forks source link

phoenixdb can't connect hbase #8

Closed zhenghan008 closed 6 years ago

zhenghan008 commented 6 years ago

hi, all! I have a problem to solve.I encountered an error when I used phoenixdb.I have opened the queryserver service. my code: import phoenixdb database_url = 'http://3.9.8.130:8765/' conn = phoenixdb.connect(database_url, autocommit=True) cursor = conn.cursor()

cursor.execute('''select * from SYSTEM."TABLE"''') print cursor.fetchall() the error: phoenixdb.errors.InternalError: (u'RuntimeException: java.sql.SQLException: No suitable driver found for start -> SQLException: No suitable driver found for start', None, None, None)

lalinsky commented 6 years ago

I'm sorry, I can't help you with this. This project has been integrated into Phoenix itself.

Can you please ask the Phoenix devs on the mailing list?

https://phoenix.apache.org/mailing_list.html

zhenghan008 commented 6 years ago

@lalinsky ok!thank you!