On 27 February 2014 03:02, Azroth <[email protected]> wrote:
> Hi Colin
>
> rails server
>
> => Booting WEBrick
> => Rails 3.2.8 application starting in development on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> [2014-02-27 03:37:20] INFO  WEBrick 1.3.1
> [2014-02-27 03:37:20] INFO  ruby 1.8.7 (2011-06-30) [i686-linux]
> [2014-02-27 03:37:25] INFO  WEBrick::HTTPServer#start: pid=12143 port=3000
>
> development.log is
>
> Started GET "/assets/rails.png" for 127.0.0.1 at Thu Feb 27 03:44:29 +0100
> 2014
> Connecting to database specified by database.yml

Please don't top post it makes it difficult to follow the thread, post
your reply inline at appropriate points, thanks.

If there is nothing else after that then I suggest it is hanging
trying to access the mysql server.  Have you tried leaving it for some
minutes to see if something eventually times out and gives you some
more clues?
Are there any mysql logs on the server that might be useful?

You said, I think, that it works ok with a later version of ruby.
Perhaps the mysql2 adaptor you are using is ruby version specific.

Colin

>
> database.yml fragment is
>
> development:
>   adapter: mysql2
>   host: <my server ip>
>   port: 3306
>   encoding: utf8
>   reconnect: false
>   database: rails32801blog_development
>   pool: 5
>   username: <my username>
>   password: <my password>
>   socket: /var/lib/mysql/mysql.sock

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuBWGC6W-A3PFZw-rmeJdUq28F4d0h03Zc%3DowqCBGatPA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to