Problem installing vpopmail or not

Started by tgm_of_xxl, March 17, 2004, 05:26:33 AM

Previous topic - Next topic

tgm_of_xxl

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.

atoyf

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
Kind regards, Anton