Mysql::Error: Lost connection to MySQL server

1 view
Skip to first unread message

rdevendra

unread,
Aug 30, 2006, 11:50:37 AM8/30/06
to openappdotorg
Hi,

I have downloaded openappdotorg toolkit, created the database, executed
the sql script, granted necessary permission to the user and modified
database.yml accordingly. I get the following error upon booting
WEBrick.

C:\openappdotorg>ruby script\server
=> Booting WEBrick...
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log': Mysql::Error: Lost connection to MySQL server during query: SHOW
TABLES (ActiveRecord::StatementInvalid)
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/connection_adapters/mysql_adapter.rb:184:in
`execute'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/connection_adapters/mysql_adapter.rb:270:in
`tables'
from
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:680:in
`table_exists?'
from ./script/../config/../vendor/plugins/rails_cron/init.rb:5:in
`load_plugin'
from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/initializer.rb:348:in
`load_plugin'
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/kernel/reporting.rb:11:in
`silence_warnings'
from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/initializer.rb:348:in
`load_plugin'
from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/initializer.rb:158:in
`load_plugins'
... 8 levels...
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require'
from
c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/server.rb:30
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from script/server:3

Any Idea?
Rahul

Rajesh S

unread,
Aug 31, 2006, 7:42:26 PM8/31/06
to openappdotorg
# Can you type your database.yml content here?
# Try running setup wizard instead of running sql stuff manually, yes
before you run setup wizard make sure you delete your current
openappdotorg database. Have a look at the following link

http://dev.openapp.org/index.php?title=Setup_wizard_%28For_end_users/developers%29

# And once you successfully installed the app, see if you can get in or
you see the same error?

let me know

Message has been deleted

Rajesh S

unread,
Sep 6, 2006, 6:47:49 PM9/6/06
to openappdotorg
Rahul,.

Any update on this, did you run the setup wizard?

rdevendra

unread,
Sep 9, 2006, 10:15:16 AM9/9/06
to openappdotorg
Had no sucess with the the installer too , tried upgrading ruby and
rails version. got busy with other stuff. I will be able to post the
details on monday.

Reply all
Reply to author
Forward
0 new messages