I’m using Ubuntu, with Rails 3.0.1 with mysql2 socket.
When i do runing install, rake db:create and after rails server, my Welcome aboard, shows ActiveRecord::ConnectionNotEstablished in About your application’s environment
What i do?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
It sounds like your MySQL server isn’t running. You’ll need to install MySQL if you haven’t already (
apt-get install mysql-servershould do it). Once it’s running, you’ll need to set up a user and database for your app, and note the username and password so that you can put that information inconfig/database.ymlwithin your app.This link will be useful if you need any help with those steps.