$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Setup Rails2 With Remote MySQL Database

October 7, 2011 | By Duchateaux.
  1. Install the MySQL adapter

    gem install mysql

  2. Open and Edit config/database.yml

    development:
    /nadapter: mysql
    database: yourDBName
    host: xxx.xxx.xxx.xxx or hostName
    /nusername: yourUserName
    password: yourPass
    port: 3306 or other

If running rake you get an Error message containing ‘development database is not configured (activerecord::adapternotspecified)’ this depend from a typo or extra-tab. Check accurately your database.yml.