select a different database(other than MySQL)

原创 2007年09月14日 09:36:00

If you want to use anthoer database other than MySQL, you can edit the database.yml in config folder after you create the rails porject.

However, if you know that you'll be using database other than MySQL, you can save yourself some effort by telling rails when you create the application.

work> rails depot --database=sqlite3 

相关文章推荐

SQL SERVER 2008恢复数据错误解决:The backup set holds a backup of a database other than the existing

今天从新加坡现场环境生成了一个数据库备份的文件发过来,我们两边用的都是Microsoft SQL Server 2008 R2, 在sqlServer20008 的management studio...
  • j2eevic
  • j2eevic
  • 2012年03月29日 19:11
  • 9335

VirtualHost Tricks - Pointing your machine's IP to a different location than localhost

When you run a web server on your personal machine, you can access your web documents a few ways: us...
  • Koupoo
  • Koupoo
  • 2012年09月23日 21:29
  • 893

Windows Vista Boot Process different than Windows XP

Windows Vista boot-up process is slightly different than windows XP, and to have an understanding on...

Data access between different DBMS and other txt/csv data source by DB Query Analyzer

In this essay, I will show you an example about data access between different DBMS and other txt/csv...

ORA-01122 database file 1 failed verification check,ORA-01207: file is more recent than control file

数据库强制关闭却无法启动,报错ORA-01222,ORA-01207
  • robo23
  • robo23
  • 2014年09月27日 21:10
  • 1686

Version of activiti database (5.15.1) is more recent than the engine (5.14)

org.activiti.engine.ActivitiException: Version of activiti database (5.15.1) is more recent than the...

【Leetcode Database】Employees Earning More Than Their Managers

题目: The Employee table holds all employees including their managers. Every employee has an Id...

【ORA-600】[kcratr_nab_less_than_odr] 异常宕机后的实例恢复during Instance Recovery after Database Crash

由于操作系统异常变为只读操作系统,不能读写数据文件,导致实例异常终止。从而导致实例重启时,在open阶段,报ORA-600 [kcratr_nab_less_than_odr]错误。 ORA-600...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:select a different database(other than MySQL)
举报原因:
原因补充:

(最多只允许输入30个字)