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

The Archive Base Latest Questions

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

Hi I am followed the following tutorial http://wiki.dreamhost.com/RVM . I got it to start

  • 0

Hi I am followed the following tutorial http://wiki.dreamhost.com/RVM. I got it to start with phusion although it was using sqllite3. I wanted to use mysql database instead and now when i try rake db:create i get the following message

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

The problem that I have however is I changed the gem to mysql2 in the Gemfile. and I had to install database.yml that look similar

development:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: domain_dev
  pool: 5
  username: ******
  password: ******
  host: mysql.wyw.mydomain.ca

But i dont understand where the socket is? I also i am not to sure how to restart rails. I did stop passenger with ctr+c but i don’t know if it really restart like on a local machine with rails s by just doing the following passenger start.

I am using dreamhost.

  • 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:05:48+00:00Added an answer on June 16, 2026 at 12:05 am

    Maybe you forgot to specify a port. I wouldnt expect the connector to use a socket tough if none is specified. My guess is this isn’t your entire database.yml file and there is a socket config in there.

    development:
      adapter: mysql2
      encoding: utf8
      database: domain_dev
      username: xxxx
      password: xxxx
      host: mysql.wyw.mydomain.ca
      port: 3306
      pool: 5
      timeout: 5000
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have followed the following tutorial: http://wiki.dreamhost.com/RVM . Now if i follow it like
I followed the following tutorial to build a multilingual webpage using php arrays: http://bytes.com/topic/php/answers/880915-how-develop-multi-lingual-websites-php
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 am trying to run google map tutorial using following link http://mobiforge.com/developing/story/using-google-maps-android followed all
I have followed to following great tutorial at : http://blog.blundell-apps.com/simple-inapp-billing-payment/ I have done everything
I followed the example http://www.dealtaker.com/blog/2010/02/25/kohana-php-3-0-ko3-tutorial-part-5/ I get the following error: ErrorException [ Notice ]:
I followed the following tutorial http://developer.android.com/guide/developing/projects/projects-eclipse.html and I have 2 projects : the starter
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
I've tried following this tutorial (http://www.raywenderlich.com/4666/how-to-create-a-hud-layer-with-cocos2d) however as you can probably tell I'm not
I'm using java 6 annotation processing api. I have followed the following excellent tutorial

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.