I am getting problem in connecting vertica database with php using pdo it's throwing me error
[unixODBC][Driver Manager]Data source name not found, and no default driver specified' SQLSTATE SQLSTATE[IM002]
My connection string is as follows :-
$conn = new PDO('odbc:DRIVER={SOURCENAME};Server=localhost;Database=dashboard', "yogesh", "");
The same dsn works with isql utility but not with pdo .