check this: http://www.symfony-project.org/doctrine/1_2/en/02-Connections Hmm, the description of supported drivers of symfony-project.org is different from the one of doctrine-project.org.
As you say, There is no PDO_MYSQLi(http://php.net/manual/ pdo.drivers.php) and mysqli is not supported (see "grep -r --exclude-dir=.svn mysqli *"), so you need to install php5-mysql in Ubuntu. http://packages.ubuntu.com/jaunty/php5-mysql On Aug 30, 7:01 pm, Johannes Heinen <[email protected]> wrote: > Aye sorry, i use the latest sf 1.2.x with doctrine 1.1 > > On Aug 30, 11:46 am, Johannes Heinen <[email protected]> > wrote: > > > Hello anybody > > > i wonder if and how it is possible to use a mysqli driver within > > symfony + doctrine. > > > I am working on a standard ubuntu distri using php package (namely > > 5.2.6.x; configure says with mysqli and raw mysqli support is enabled > > by default, so says $ php -i(nfo()). > > > The problem is, that when i specify "mysqli" as a PDO driver name > > (following the doctrine documentation that can be found > > here:http://www.doctrine-project.org/documentation/manual/1_1/en/introduct... > > an exception is thrown ("unknown database driver mysqli"). After a > > while searching for a extension named "pdo_mysqli.so" i must say that > > this extension does not exist, neither in the official ubuntu .deb- > > package source nor in pecl. > > > Then i had the idea to try Doctrine_Adapter_Mysqli, but i don't know > > how to pass a custom connection as a replacement for databases.yml > > within symfony context. > > > Additionally this trac entry seems to say that using > > Doctrine_Adapter_Mysqli is not a real > > solution:http://trac.doctrine-project.org/ticket/204 > > > Has anybody an idea how to enable PDO-Support for mysqli, or if it is > > already built in the standard pdo_mysql-Driver? I have not enough > > knowledge about these php specific Database-"internals".... > > > Thanks in advance, > > joshi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
