Il giorno giovedì 27 febbraio 2014 09:44:02 UTC+1, Colin Law ha scritto:
>
> On 27 February 2014 03:02, Azroth <[email protected] <javascript:>> 
> 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
>

waited for some minutes, no way, browser is hanging indefinetely,

mysql error log report

140224 01:19:52 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid 
ended
140224 01:19:53 mysqld_safe Starting mysqld daemon with databases from 
/var/lib/mysql
140224  1:19:53  InnoDB: Initializing buffer pool, size = 8.0M
140224  1:19:53  InnoDB: Completed initialization of buffer pool
140224  1:19:53  InnoDB: Started; log sequence number 0 255851
140224  1:19:53 [Note] Event Scheduler: Loaded 0 events
140224  1:19:53 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source 
distribution
140224  1:59:26 [Note] /usr/libexec/mysqld: Normal shutdown

so no errors, nothing strange

mysql2 gem version on my local development machine is 0.3.11

-- 
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/ad2f9839-3c35-4966-b01c-a1b0bb5fe02d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to