Migration Mantis - Redmine

Added by franck WILLEMAIN over 9 years ago

Command :

c:\”program files\bitnami redemine stack\ruby\rake” redmine:migrate_from_mantis RAILS_ENV=”production”

result :

Migrating usersrake aborted!
Acces denied for user ‘root’@localhost’ <using no password:>

??

cmd.png (52.6 KB)

Replies (3)

RE: Migration Mantis - Redmine - Added by Thomas Lecavelier over 9 years ago

You're mysql is refusing the connection with user == root and no password. Check your connection informations.

RE: Migration Mantis - Redmine - Added by franck WILLEMAIN over 9 years ago

Config Mantis database :

$g_hostname = 'localhost';
$g_db_username = 'root';
$g_db_password = '';
$g_database_name = 'bugtracker';

Computer 10.201.0.111 In workgroup
C:\Program Files\BitNami Redmine Stack\mysql\data
Redmine DataBase : redmine_production

Computer 10.201.50 In workgroup
C:\Program Files\EasyPHP1-8\mysql
Mantis database : bugtracker

Command :

adapter [mysql]:
host [localhost]:10.201.0.50: 3306
database [bugtracker]:
username [root]: root
password []:
encoding [UTF-8]:

Can’t connect to MYSQL server on 10.201.0.50

RE: RE: Migration Mantis - Redmine - Added by Carl Nygard over 9 years ago

Mantis is configured with the host being localhost, and you're connecting via an IP address. The MySQL GRANT tables distinguish between connection origin, so unless you've GRANTed yourself permission to connect without a password from 10.201.0.111, you'll have connection issues. Read your docs carefully.

(1-3/3)