Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7683557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:49:18+00:00 2026-05-31T18:49:18+00:00

Finally deployed my ruby on rails 3.2 app but when trying to open it

  • 0

Finally deployed my ruby on rails 3.2 app but when trying to open it from the browser I’m getting a 500 error (production.log gives)

Errno::ENOENT (No such file or directory - Problem opening database)
  • installed rvm rails 3.2 ruby latest
  • working cap deploy with nginx and unicorn
  • rake db:migrate RAILS_ENV=production in production terminal => no errors

My production database.yml ( both tried with and without path to mysql socket, mysqld running fine mysql from terminal i can connect and see all tables in db )

production:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: paintings_production
  pool: 5
  username: paintings
  password: mypass
  socket: /var/lib/mysql/mysql.sock
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:49:19+00:00Added an answer on May 31, 2026 at 6:49 pm

    Since you’ve confimed your socket file exists:

    /var/lib/mysql/mysql.sock

    …but the error message says no such file or directory, you have a permissions problem.

    Or perhaps your mysql server isn’t configured to use the same socket correctly?

    You can find a full mysql/rails unix socket debugging info here: Ruby on Rails 3 Can't connect to local MySQL server through socket '/tmp/mysql.sock' on OSX

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been having a tough time getting jRuby on Rails 3 deployed on Tomcat
I finally got my group to switch from SourceSafe to Subversion. Unfortunately, my manager
I finally let windows nag me into upgrading from IE6 to 8. Now in
I'm finally getting my team to embrace source code management now that we're working
I'm trying to create a release script that can be deployed on multiple databases,
After finally getting the Android Facebook SDK to properly import thanks to this ,
Finally, I find some article in http://code.google.com/intl/en/web/ajaxcrawling/docs/getting-started.html msnbc use this method. Thanks for all
I finally got my SSIS package deployed to our SQL 2005 server, and I
Finally, I'm getting into OOP and attempting to put together my first class. However,
Finally i found some solution about how to call function from aspx page, couze

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.