% layout 'error_layout', :title => "#{@app_name} application could not be started" do %>
There appears to be a database problem.
-
<% if @app_type == "rails" %>
Your config/database.yml may not be written correctly.
<% else %>
Your application's database configuration file might be written
incorrectly.
<% end %>
Please check it and fix any errors.
<% if @app_type == "rails" %>
-
Your database schema may be out of date or nonexistant.
Please run rake db:migrate
to ensure that
the database schema is up-to-date.
<% end %>
-
The database server may not be running. Please check whether it's
running, and start it if it isn't.
- Error message:
- <%=h @error.child_exception.message %>
- Exception class:
-
<% if @error.child_exception.respond_to?(:real_class_name) %>
<%=h @error.child_exception.real_class_name %>
<% else %>
<%=h @error.child_exception.class %>
<% end %>
- Application root:
-
<%=h @app_root %>
- Backtrace:
-
<%= backtrace_html_for(@error.child_exception) %>
<% end %>