i am acutally trying to install a tool on my server which requires a mysql database.
the problem is that at a certain point it asks me for the address of the mysql server. so i set it to localhost and this is the output i get:
Database Error
Server Address: localhost
Server Username: sb
Error Diagnostic:
Could not connect to database server. Check that the values of DB_ADDR, DB_USER and DB_PASS in config.php are set correctly.
Server Error: (1045) Access denied for user 'sb'@'localhost' (using password: YES)
i also tryed to use 127.0.0.1 but i get:
Database Error
Server Address: 127.0.0.1
Server Username: sb
Error Diagnostic:
Could not connect to database server. Check that the values of DB_ADDR, DB_USER and DB_PASS in config.php are set correctly.
Server Error: (1045) Access denied for user 'sb'@'localhost' (using password: YES)
it seems that it doesnt recognize localhost and plus, this "tool" uses "localhost" when you type 127.0.0.1.
my /etc/hosts:
127.0.0.1 localhost
[...]
i am using xampp under debian and i also have other databases working perfectly with "127.0.0.1" as ip (cause localhost doesn't work)
i'd like to get an help. thank you,
Niko