Hi,
I am facing similar problem
I am trying to pass below option but it is not working
options:
PDO::MYSQL_ATTR_LOCAL_INFILE: '1'
On Friday, 9 November 2012 03:54:20 UTC+5:30, karthik sethupat wrote:
>
> Hello,
>
> I have set *driverOptions* in the config file as mentioned in the
> doctrine DBAL documentation.
>
> But this gives and error
>
> 1/1 InvalidConfigurationException: Unrecognized options "driverOptions"
> under "doctrine.dbal.connections.pdoDevCon"
>
> My config file is
>
> dbal:
> default_connection: pdoDevCon
> connections:
> pdoDevCon:
> driver: %dev_database_driver% # <
> host: %dev_database_host% # |
> port: %dev_database_port% # | Defined in
> user: %dev_database_user% # |
> password: %dev_database_password% # <
> charset: UTF8
> *driverOptions: *{3: 2}
> mapping_types:
> enum: string
> set: string
>
> orm:
> auto_generate_proxy_classes: %kernel.debug%
> pdoDevCon:
> connection: pdoDevCon
> mappings:
> AcmeDemoBundle: ~
> AcmeHelloBundle: ~
>
>
> I am using PDO::ATTR_ERRMODE as 3 PDO::ERRMODE_EXCEPTION as 2, it does not
> work even if i use the strings.
>
> Is this a bug or am I missing something?
> Thanks in advance.
>
> Regards,
> Karthik.
--
--
If you want to report a vulnerability issue on Symfony, please read the
procedure on http://symfony.com/security
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
---
You received this message because you are subscribed to the Google Groups
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.