Kim,

>From the MySql command line, I get the same error if I select a non-
existent database and then try to create a table. However Symfony
stops with a PDO Connection Error quoting MySql error 1049 (unknown
database), rather than proceeding to insert the table and giving the
error 1046 which you have.

There are some Symfony bug reports with the same symptom here:

http://trac.symfony-project.org/search?q=mysql+1046&noquickjump=1&ticket=on

Unless you're using an old version of Symfony, this should be fixed
now, which is as far as I can go to help.

Regards,
Graham

On May 12, 10:59 am, Kim Rowan <kim.ro...@cancer.org.uk> wrote:
> Hi Graham
>
> Thanks for your response.  I have followed all the instructions to the
> letter; my config/databases.yml file looks like this:
>
> all:
>   doctrine:
>     class: sfDoctrineDatabase
>     param:
>       dsn: 'mysql:host=localhost;dbname:jobeet'
>       username: root
>       password: secret
>
> I appreciate your help in trying to sort this out!  Is there anything else I
> could check?
>
> Kind regards
>
> Kim
>
> On 11/5/10 17:37, "grahamj42" <graham...@orange.fr> wrote:
>
>
>
> > Did you follow the instructions under the subtitle "The Database" to
> > create the schema and configure Symfony's config/databases.yml file
> > with appropriate values for your database server? It looks to me as if
> > this step failed. Symfony doesn't touch the database until the
> > doctrine:insert-sql task.
>
> > --
> > If you want to report a vulnerability issue on symfony, please send it to
> > security at symfony-project.com
>
> > 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
>
> This communication is from Cancer Research UK. Our website is 
> atwww.cancerresearchuk.org. We are a charity registered under number 1089464 
> and a company limited by guarantee registered in England & Wales under number 
> 4325234. Our registered address is 61 Lincoln's Inn Fields, London WC2A 3PX. 
> Our central telephone number is 020 7242 0200.
>
> This communication and any attachments contain information which is 
> confidential and may also be privileged.   It is for the exclusive use of the 
> intended recipient(s).  If you are not the intended recipient(s) please note 
> that any form of disclosure, distribution, copying or use of this 
> communication or the information in it or in any attachments is strictly 
> prohibited and may be unlawful.  If you have received this communication in 
> error, please notify the sender and delete the email and destroy any copies 
> of it.
>
> E-mail communications cannot be guaranteed to be secure or error free, as 
> information could be intercepted, corrupted, amended, lost, destroyed, arrive 
> late or incomplete, or contain viruses.  We do not accept liability for any 
> such matters or their consequences.  Anyone who communicates with us by 
> e-mail is taken to accept the risks in doing so.
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> 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 
> athttp://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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