Connecting Db in ruby

MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB_NAME = 'localhost', 'root', '', 'artiklz_development'
@@dbh = Mysql.real_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DB_NAME)

Comments

Popular posts from this blog

How to increase Elasticsearch Shard recovery Speed

Install Cpanm module error : No such file or directory opening compressed index

Getting started with Python Flask application with MVC structure