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 9000337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:17:57+00:00 2026-06-16T00:17:57+00:00

I have followed the following tutorial: http://wiki.dreamhost.com/RVM . Now if i follow it like

  • 0

I have followed the following tutorial: http://wiki.dreamhost.com/RVM. Now if i follow it like with SQLite3 it works great. Although if I try to change to mysql database by placing in the gem file

gem "mysql2"

And then installing a database.yml in database such has follow

production:
 adapter: mysql2  
 encoding: utf8  
 host: localhost
 database: test-mysql2_production  
 pool: 5  
 username: test_user
 password:  
 socket: /tmp/mysql.sock

The reason i added database.yml on the vps is because it doesn’t create one. I still find my self having problem because i try to create the command rake db:create and i get the following error

Could not find database no user found with password. Is there something i am missing? or because it is a live server, i should not do it that way and create my project a different way?

  • 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-06-16T00:17:57+00:00Added an answer on June 16, 2026 at 12:17 am

    have you created a mysql database on dreamhost from their cpanel?

    then you need a user that has access to the database.

    before trying to connect to it from rails, try connecting to the mysql db directly from the command line to make sure that it’s working. this should help: http://www.cyberciti.biz/faq/how-do-i-access-mysql-server-from-the-shell-prompt-command-line/

    and yes, unlike heroku that creates one for you, you need a copy of database.yml

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

Sidebar

Related Questions

Hi I am followed the following tutorial http://wiki.dreamhost.com/RVM . I got it to start
I have followed to following great tutorial at : http://blog.blundell-apps.com/simple-inapp-billing-payment/ I have done everything
I followed the following tutorial http://developer.android.com/guide/developing/projects/projects-eclipse.html and I have 2 projects : the starter
Hi have followed this tutorial using Core plot framework http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application My project compiles, but
I have followed his popular tutorial to connect Android to MySQL: http://www.helloandroid.com/tutorials/connecting-mysql-database It is
Background: I have followed the tutorial at: http://drclawx.wordpress.com/2011/06/24/77/ I only managed to get to
I am following an intro tutorial http://www.linuxinsight.com/files/alp/alp-ch01-getting-started.pdf . I have created the source files
I have followed this tutorial to create the first azure application http://msdn.microsoft.com/en-us/WAZPlatformTrainingCourse_IntroToWindowsAzureLabVS2010 Because after
I'm using Ubuntu 10, python 2.6.5 I'm following this tutorial: http://www.djangobook.com/en/2.0/chapter02 I followed all
I need help, I followed the following tutorial on setting up my project. http://lwjgl.org/wiki/index.php?title=Setting_Up_LWJGL_with_NetBeans

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.