The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: tgm_of_xxl on March 17, 2004, 05:26:33 AM

Title: Problem installing vpopmail or not
Post by: tgm_of_xxl on March 17, 2004, 05:26:33 AM
Hi

After running : toaster_setup.pl -s vpopmail
and the compilation is finished i receive the following messages:
DBI connect('database=mysql;host=localhost;port=3306','root',...) failed: Access denied for user: 'root@localhost' (Using password: NO) at /usr/local/lib/perl5/site_perl/5.8.2/MATT/Mysql.pm line 248
db connect failed:
at lib/Mail/Toaster/Setup.pm line 1036
DBI connect('database=mysql;host=localhost;port=3306','root',...) failed: Access denied for user: 'root@localhost' (Using password: NO) at /usr/local/lib/perl5/site_perl/5.8.2/MATT/Mysql.pm line 248
db connect failed:
at lib/Mail/Toaster/Setup.pm line 1038
Can't call method "prepare" on an undefined value at /usr/local/lib/perl5/site_perl/5.8.2/MATT/Mysql.pm line 198.
hosting# mysql -u root@localhost -p
Enter password:
ERROR 1045: Access denied for user: 'root@localhost>@localhost' (Using password: YES)
hosting# mysql -u root -p
Enter password:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)

When i try to connect localy with root it works, when i try to connect from another server it works.
What seems to be the problem?

Thanks and regards.
Title: Problem installing vpopmail or not
Post by: atoyf on March 17, 2004, 10:48:01 AM
can you do?
and when it prompts you for password just hit enter, it should let you in, if it doesn't you should change roots password to blank/no password

mysql -u root -p