Thanks Masaki, thats what i already did: php5-mysql .deb-package is shipped with everything needed to build a mysql based php app.
This was merly a question about if it is possible to explicit use mysqli with a php "pdo-style" driver/adapter (due to the fact that the built in doctrine-adapter "Doctrine_Adapter_Mysqli" seems to be outdated, broken or not fully implemented: it simply does not work). As you said: The Documentation seems partly outdated and/or different, too... But it seems that mysqli has already been superseded by PDO at the day of its creation, isn't it? Is there really an advantage by using mysql(improved) extension? Performance, newer mySQL Feature Support or what? "§!%! php :D On 31 Aug., 14:19, Masaki <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
