Okay, so I'm moving a site from a server running Symfony 1.1 to a
server running 1.2. This has turned out to be surprisingly difficult.
I have run into all kinds of issues. Thank god I found this article:

http://blog.vacs.fr/index.php?post/2009/02/01/Symfony-project-upgrade-to-1.2&pub=1#pr

It helped somewhat. However, now I'm getting an issue not mentioned in
that article (possibly unrelated to the upgrade?). I get this:


500 | Internal Server Error | PropelException
Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access
denied for user 'lawrence'@'localhost' (using password: NO)]
stack trace

    * at ()
      in SF_SYMFONY_LIB_DIR/plugins/sfPropelPlugin/lib/vendor/propel/
Propel.php line 610 ...
             607.             $con = new $classname($dsn, $user,
$password, $driver_options);
             608.             $con->setAttribute(PDO::ATTR_ERRMODE,
PDO::ERRMODE_EXCEPTION);
             609.         } catch (PDOException $e) {
             610.             throw new PropelException("Unable to
open PDO connection", $e);
             611.         }




On the command line, I've checked to be sure that PDO is installed on
this server:


$ php -i | grep PDO
PDO
PDO support => enabled
PDO drivers => mysql
PDO Driver for MySQL, client library version => 5.0.51a




If I ssh to the server, I can use the current username and password to
log into MySql from the command line, so I know that I've got the
correct username and password for this database. And I've got the
right database name.

So what else could be wrong?








--~--~---------~--~----~------------~-------~--~----~
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