Beuth-Erdelt / DBMS-Benchmarker

DBMS-Benchmarker is a Python-based application-level blackbox benchmark tool for Database Management Systems (DBMS). It connects to a given list of DBMS (via JDBC) and runs a given list of parametrized and randomized (SQL) benchmark queries. Evaluations are available via a Python interface and on an interactive multi-dimensional dashboard.
GNU Affero General Public License v3.0
13 stars 3 forks source link

Postgres Driver class not found #79

Closed PenguinRage closed 3 years ago

PenguinRage commented 3 years ago

Python: 3.9.7

So I am getting TypeError: Class org.postgresql.Driver is not found. As far as I am aware the driver class is located where I specified. Any thoughts or feedback would be appreciated.

connection.config

[
  {
    'name': "DB Analyser",
    'active': True,
    'JDBC': {
      'driver': "org.postgresql.Driver",
      'url': "jdbc:postgresql://test-core-cluster.cluster-ro.ap-southeast-2.rds.amazonaws.com/postgres",
      'auth': ["x", "y"],
      'jar': "postgresql-42.2.23.jar"
    }
  }
]
PenguinRage commented 3 years ago

Nevermind, Discovered that this also occurs if the jar isn't found at all. Relocating jar from config to root directory of project fixed this issue.