20 Dec
2006
20 Dec
'06
5:22 a.m.
Hi, I'm trying to install koha on a host which is hosting a mysql 5 installation. So, i started mysql 4.1 on 127.0.0.2 and typed this ip as mysql host during installation. but installer still tries to use localhost and fails with: Creating the MySQL database for Koha... /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) I also added 127.0.0.2 to /etc/hosts with a host name but it didn't helped. How can I use this server? (The solution would be editing /etc/hosts and changing localhost to 127.0.0.2 which is _really_ ugly.)