SQLite3::SQLException

Si tu as fait ta base de données avec phpmyadmin, tu as fait une bdd mysql.
Ce serait bien d'indiquer à ton application Rails qu'il faut qu'elle se
connecte à une base de données mysql, non ?

Michel Belleville


2009/8/3 Yvar Trust <[email protected]>

>
> merci mais il m'affiche  ceci maintenant:
>
> Processing AnnuairesController#index (for 127.0.0.1 at 2009-08-03
> 16:40:48) [GET]
>   [4;36;1mAnnuaire Load (0.0ms) [0m    [0;1mSQLite3::SQLException: no
> such table: annuaires: SELECT * FROM "annuaires"  [0m
>
> ActiveRecord::StatementInvalid (SQLite3::SQLException: no such table:
> annuaires: SELECT * FROM "annuaires" ):
>  app/controllers/annuaires_controller.rb:5:in `index'
>   C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
>  C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
>  C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
>
> Rendered rescues/_trace (438.0ms)
> Rendered rescues/_request_and_response (0.0ms)
> Rendering rescues/layout (internal_server_error)
>
> A croire que j'ai pas crée de B.D et pourtant je l'ai fait avec
> phpmyadmin de wamp serer
> que faire?
> merci d'avance
>
> Attachments:
> http://www.ruby-forum.com/attachment/3927/development.log
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe "Railsfrance" de 
Google Groups.
Pour transmettre des messages à ce groupe, envoyez un e-mail à l'adresse 
[email protected]
Pour résilier votre abonnement envoyez un e-mail à l'adresse 
[email protected]
-~----------~----~----~----~------~----~------~--~---

Répondre à