We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hiya,
Great package you have here!
I am using the odbc manager from within windows to setup the connection the ODBC driver. However this packages needs the configuration for:
'System=%s', 'Database=%s', 'UserID=%s', 'Password=%s',
in ODBCConnector.php
I only need the "odbc" option within this connector.
The idea is to allow 2 extra settings to be specified in the config file:
'windows_odbc_defined' => true, 'windows_odbc_name' => 'name'
When these settings are specified the odbc connector will make the odbc connection based on what is specified.
Changes in ODBCConnector.php:
ODBCConnector.php
if ($config['windows_odbc_defined'] == true) { $dsnParts = [ 'odbc:%s' ]; $dsnConfig = [ $config['windows_odbc_name'] ]; } else { $dsnParts = [ 'odbc:DRIVER=%s', 'System=%s', 'Database=%s', 'UserID=%s', 'Password=%s', ]; $dsnConfig = [ $config['driverName'], $config['host'], $config['database'], $config['username'], $config['password'], ]; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hiya,
Great package you have here!
I am using the odbc manager from within windows to setup the connection the ODBC driver. However this packages needs the configuration for:
in ODBCConnector.php
I only need the "odbc" option within this connector.
The idea is to allow 2 extra settings to be specified in the config file:
When these settings are specified the odbc connector will make the odbc connection based on what is specified.
Changes in
ODBCConnector.php
:The text was updated successfully, but these errors were encountered: