I am trying to connect to a localhost setup PostgreSQL 10 with Matlab R2015a and after following the instructions and connection string layout, I'm at a loss to explain why I'm still getting a "No suitable driver found" error.
datasource = 'toronto';
username = 'postgres';
password = '********';
driver = 'org.postgresql.Driver';
server = 'jdbc:postresql://localhost:5432/';
connection = database(datasource, username, password, driver, server)
I've checked this related SO thread but no dice. Here's some extra information, hopefully someone has come across this before.
- PostgreSQL 10.1, build 1800 64-bit
- Java Version 8, built 1.8.0_91-b14
- PostgreSQL JDBC 4.2 Driver, 42.1.4