Help me please!!!
Added by Bruno Mourinha over 14 years ago
Hello everybody.
I'm installing Redmine but i have very problems. I start to install with postgres but i can't finish. So i replace to mysql. At this moment i have this error:
[root@lapp redmine]# rake db:migrate
(in /tmp/redmine)
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)
(See full trace by running task with --trace)
How i resolve this problem?
Replies (4)
RE: Help me please!!!
-
Added by Felix Schäfer over 14 years ago
Put the correct information in config/database.yml
.
RE: Help me please!!!
-
Added by Bruno Mourinha over 14 years ago
Thanks. I forgot the password field :(
Perhaps i have new error:
[root@lapp redmine]# ruby script/server -e production
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-02-26 14:13:46] INFO WEBrick 1.3.1
[2010-02-26 14:13:46] INFO ruby 1.9.1 (2009-07-16) [i686-linux]
[2010-02-26 14:13:46] INFO WEBrick::HTTPServer#start: pid=346 port=3000
When i run this command and put localhost:3000 in browser i don't see anything
RE: Help me please!!!
-
Added by Felix Schäfer over 14 years ago
Do you try accessing redmine from the same machine on which you start the server? Is there any firewall active on the machine?
RE: Help me please!!!
-
Added by Bruno Mourinha over 14 years ago
Sorry. i have miss this thing :P I'm working in a different machine.
No i can't do new projects
[root@lapp redmine]# rake redmine:migrate_from_trac RAILS_ENV="production"
(in /tmp/redmine)
WARNING: a new project will be added to Redmine during this process.
Are you sure you want to continue ? [y/N] y
Trac directory []: /tmp/redmine/app/views
Trac database adapter (sqlite, sqlite3, mysql, postgresql) [sqlite]: mysql
Trac database host [localhost]:
Trac database port [3306]:
Trac database name []:
Trac database name []: demo
Trac database schema [public]:
Trac database username []: root
Trac database password []: z53498k
Trac database encoding [UTF-8]:
Target project identifier []: demo
This project already exists in your Redmine database.
Are you sure you want to append data to this project ? [Y/n] y
rake aborted!
Unknown database 'demo'
(See full trace by running task with --trace)
I have to do a new database in mysql: CREATE DATABASE demo; ?