Change the adapter to mysql

On 12/12/11, Scott LaBounty <[email protected]> wrote:
> Ravi,
>
> There is a database.yml, but it's the default and everything is set for
> "adapter: sqlite3". Does it need to be something else?
>
> Scott
>
> On Mon, Dec 12, 2011 at 9:12 AM, Ravi Tewari <[email protected]> wrote:
>
>> Try creating the database.yml file
>>
>> On 12/12/11, Scott LaBounty <[email protected]> wrote:
>> > Martin,
>> >
>> > Thanks. Here's what I see from the logs ...
>> >
>> > <<
>> > 2011-12-12T17:02:11+00:00 app[web.1]:
>> > 2011-12-12T17:02:11+00:00 app[web.1]:
>> > 2011-12-12T17:02:11+00:00 app[web.1]: Started GET "/pages/home" for
>> > 72.130.86.114 at 2011-12-12 09:02:11 -0800
>> > 2011-12-12T17:02:11+00:00 heroku[router]: GET
>> > hollow-river-4395.heroku.com/pages/home dyno=web.1 queue=0 wait=0ms
>> > service=6ms status=500 bytes=728
>> > 2011-12-12T17:02:11+00:00 app[web.1]:
>> > 2011-12-12T17:02:11+00:00 app[web.1]:
>> > ActiveRecord::ConnectionNotEstablished
>> > (ActiveRecord::ConnectionNotEstablished):
>> > 2011-12-12T17:02:11+00:00 app[web.1]:
>> > 2011-12-12T17:02:11+00:00 app[web.1]:
>> > 2011-12-12T17:02:11+00:00 app[web.1]:
>> > 2011-12-12T17:02:11+00:00 app[web.1]: cache: [GET /pages/home] miss
>> >>>
>> >
>> > It looks like it has something to do with ActiveRecord and a database
>> > connection(?). I'm not using a database yet. Is there still something I
>> > need to do as far as configuring things?
>> >
>> > On Mon, Dec 12, 2011 at 8:57 AM, Martin Wawrusch <[email protected]
>> >wrote:
>> >
>> >>
>> >> you need to look into your log files on heroku
>> >>
>> >> heroku logs --tail
>> >>
>> >> should be the command to use.
>> >>
>> >>
>> >> On Mon, Dec 12, 2011 at 8:55 AM, Scott LaBounty
>> >> <[email protected]>wrote:
>> >>
>> >>> I've been receiving this message ...
>> >>>
>> >>> <<
>> >>> We're sorry, but something went wrong.
>> >>>
>> >>> We've been notified about this issue and we'll take a look at it
>> shortly.
>> >>> >>
>> >>>
>> >>> on some pages in a Rails app. I'm just starting the application so the
>> >>> Rails welcome page is still the default page and it shows fine. It's
>> only
>> >>> when I go to a different page that I see the problem. Could it be
>> >>> something
>> >>> that I'm doing or is it something that I really need to just wait for
>> >>> Heroku to look at. If it's something I'm doing, any ideas on how to
>> look
>> >>> for it? It "works on my machine" (I know, I know). It's been happening
>> >>> since last night.
>> >>>
>> >>>
>> >>> --
>> >>> Scott
>> >>> http://steamcode.blogspot.com/
>> >>>
>> >>> --
>> >>> You received this message because you are subscribed to the Google
>> Groups
>> >>> "Heroku" 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/heroku?hl=en.
>> >>>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>  --
>> >> You received this message because you are subscribed to the Google
>> Groups
>> >> "Heroku" 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/heroku?hl=en.
>> >>
>> >
>> >
>> >
>> > --
>> > Scott
>> > http://steamcode.blogspot.com/
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Heroku" 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/heroku?hl=en.
>> >
>> >
>>
>> --
>> Sent from my mobile device
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Heroku" 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/heroku?hl=en.
>>
>>
>
>
> --
> Scott
> http://steamcode.blogspot.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" 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/heroku?hl=en.
>
>

-- 
Sent from my mobile device

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to