Koozali.org: home of the SME Server

Ruby on Rails assistance needed

Offline fixit

  • *
  • 216
  • +0/-0
    • http://www.fixitcomputers.com.au
Ruby on Rails assistance needed
« on: August 16, 2007, 02:51:12 AM »
I am trying to load an application that requires ror, the problem maybe with creating a socket connection when trying to create the database with the install script


Access MySQL from the local network



[root@test ~]# cd /opt/metadot
[root@test metadot]# ./install metadot
+ install --mode=700 --directory metadot-on-rails-attachments
+ cd metadot-on-rails-attachments
+ tar -xf ../default_wiki_attachments.tar
+ cd ..
+ install --mode=700 --directory metadot-rails
+ cd metadot-rails
+ tar -xf ../wiki.tar
+ install --mode=700 --directory log
+ sed 's/metadot_/metadot_/g; s/password:/password: /g;' ./config/database-sample.yml
+ trap : 0
+ ruby ../mysql_setup.rb
+ trap 'set +x; abort' 0
+ '[' 1 -gt 1 ']'
+ rake install database=metadot username=root
(in /opt/metadot/metadot-rails)
+ rake db:migrate
(in /opt/metadot/metadot-rails)
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)

(See full trace by running task with --trace)
+ set +x

***************
*** ABORTED ***
***************



Access MySQL from a remote network

[root@test metadot]# ./install my_wiki
+ install --mode=700 --directory metadot-on-rails-attachments
+ cd metadot-on-rails-attachments
+ tar -xf ../default_wiki_attachments.tar
+ cd ..
+ install --mode=700 --directory metadot-rails
+ cd metadot-rails
+ tar -xf ../wiki.tar
+ install --mode=700 --directory log
+ sed 's/metadot_/my_wiki_/g; s/password:/password: /g;' ./config/database-sample.yml
+ trap : 0
+ ruby ../mysql_setup.rb
+ trap 'set +x; abort' 0
+ '[' 1 -gt 1 ']'
+ rake install database=my_wiki username=root
(in /opt/metadot/metadot-rails)
+ rake db:migrate
(in /opt/metadot/metadot-rails)
rake aborted!
Can't connect to MySQL server on '127.0.0.1' (111)

(See full trace by running task with --trace)
+ set +x

***************
*** ABORTED ***
***************


The database names are created, but not populated

The app that I am trying to install is Metadot 7, which requires ror

http://download.metadot.com/v7/

username: metadotRails
password: tr4nzf0rm3rz

Thanks in Advanced, Russell
« Last Edit: August 17, 2007, 07:30:56 AM by fixit »
.........