Hi Scott, first of all, which symfony version and which propel version are you using? It seems you are not using the most recent symfony version because in 1.0.8 there is a comment in Propel.php:499. First you should update your symfony.
The exception could come from an problem/issue with the loopback adapter. If you are using 127.0.0.1 in your configuration files for the database, try using localhost insted. In many cases it seems to solve the problem. http://forums.mysql.com/read.php?52,151255,151255 Carsten On 26 Okt., 05:45, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I am working on my first symfony project, and I cannot connect to > mysql. Furthermore, I cannot debug this error (for some reason my > breakpoints do not work), nor can I track down why it is failing. Here > is the exception thrown: > > [PropelException] > [wrapped: connect failed [Native Error: Lost connection to MySQL > server at 'reading initial communication packet', system error: 0] > [User Info: Array]] > stack trace > at () > in SF_SYMFONY_LIB_DIR\vendor\propel\Propel.php line 499 ... > > My parameters appear correct, and I have tried connecting via this > statement with the same parameters without problem: > > $db = @ new mysqli($host, $user, $pass, $db); > > Can any provide further information on how to debug this problem? > > Thank you, > Scott --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
