Ruby on Rails connect multiple databases
For multiple database connection, you need to add the following codes to the database.yml file. Here, I am giving the example of connecting two databases from a rails application
For multiple database connection, you need to add the following codes to the database.yml file. Here, I am giving the example of connecting two databases from a rails application
To make your server can handles big processes or do memory cache. You should add swap on server if you not have to much ram
It was a serious problem when you lost your MySQL password. But luckily resetting a lost MySQL root password is easy as long as you have sudo access to the Server.
There are many ways to install Ruby on Rails on Centos 6. Today, I will answer the question "How to install Rails 5 on Centos 6 via RPM"
I create this list to collect all useful links for developers during my work. Hope it may help you.
Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
This article guides you how to install PHP 5.6 via remi and install MySQL 5.7 via yum repo
This article shows how to install composer and make composer run globally