Search code examples
databaseconnectorgoogle-search-appliance

I'm deploying Google connector for database on my server. How to find the classname of my JDBC driver?


I'm deploying google search appliance connector for database(SQL). I'm filling the information in the GSA hostname and other required variable.

One section says to enter the full classname of JDBC driver. It has an example:

oracle.jdbc.OracleDriver

How should I find the full classname of my JDBC driver that I installed?

Any help would be appreciated. Thank you


Solution

  • If you have the JAR file, for the drive, you can open it up (it is a zip) and then browse the directory structure. You'll be looking for something like what you see for Oracle.

    Postgres uses:

    org.postgresql.Driver
    

    MS SQL uses:

    com.microsoft.sqlserver.jdbc.SQLServerDriver
    

    MySQL uses:

    com.mysql.jdbc.Driver
    

    Using that pattern, you should be able to figure it out.

    Terry