I used to be able to run my Symfony 1.2.4 application on Virtual Box 
2.0 with Ubuntu 8.1

I upgraded to Virtual Box 2.2 and Ubuntu 9.04.   I get the following 
error: Couldn't locate driver named mysql.  Frontend_dev.php reports 
that the error as follows:

500 | Internal Server Error | Doctrine_Connection_Exception
Couldn't locate driver named mysql
stack trace

     * at ()
       in 
SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection.php
 
line 473 ...
              470.             if (class_exists($class)) {
              471.                 $this->dbh = new 
$class($this->options['dsn'], $this->options['username'], 
$this->options['password']);
              472.             } else {
              473.                 throw new 
Doctrine_Connection_Exception("Couldn't locate driver named " . 
$e[0]);
              474.             }
              475.         }
  476.
     * at Doctrine_Connection->connect()
       in 
SF_ROOT_DIR/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Connection/Mysql.php
 
line 101 ...

My theory about why this is is that the file that used to be 
installed as php_pdo.so is now installed as pdo.so and the file that 
used to be installed as php_pdo_mysql.so is now installed as 
pdo_mysql.so.  But I could be wrong.

I have enabled the extension lines in my php5/cli/php.ini file to 
point to the proper file names.

phpinfo.php tells me:

PDO support     enabled
PDO drivers     no value

I am not at liberty to upgrade my version of Symfony.

Any suggestions as to how I can inform Symfony of where the mysql driver is?

TIA,

-- Emily



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to