• View
  • Changes
  • Options
  • Related
  • Edit
  • Mysql

    if rake db:create doesn't work, try this:

    mysql -u root
    create database name-of-database;
    quit

     

    If you are running mysql and rake complains about not being able to find your mysql.sock file, you will need to add "socket: " to each of the database definitions

    development: adapter: mysql socket: /var/mysql/mysql.sock database: wagn_development username: wagn password: hi_im_a_password_right_up_in_here host: localhost   test: adapter: mysql socket: /var/mysql/mysql.sock database: wagn_test username: wagn password: woo_hoo_password ...

     

    Postgres

    Postgres hints: you may have to mess with authentication config in pg_hba.conf to connect. Default configs have local identity based setting for authentication, and none for remote.

    become 'postgres' user (typically the root user for postgresql):
    createuser -d wagn-db-user -P

    (enter db user pw twice)

    createdb -O wagn-db-user name-of-database


     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Documentation

    Support | Community

    Hosting and Consulting


    Download

     

    Request an account on Wagn.org

     

  • View
  • Changes
  • Options
  • Related
  • Edit
  • Wagn 1.0 Released!

     

    Wheeled by Wagn v. 1.3.0.