Quote:
Originally Posted by arne1288
This error means that you entered "root" as "Server Hostname", and that it obviously don't where "root" is supposed to point to.
Enter the IP address (or hostname) of the server providing the SQL service in that hostname.
|
I was entering the IP address of where I'm trying to host sourcebans on, and when I try localhost I get the same error:
Code:
Fatal error: mysqli error: [2005: Unknown MySQL server host 'root' (2)] in CONNECT(root, '****', '****', !!@localhost:3306/sourcebans) in /usr/share/nginx/html/sourcebans/includes/adodb/adodb-errorhandler.inc.php on line 77
Warning: mysqli_real_connect(): (HY000/2005): Unknown MySQL server host 'root' (2) in /usr/share/nginx/html/sourcebans/includes/adodb/drivers/adodb-mysqli.inc.php on line 113
I'm doing it the same way everyone else is but for some reason I'm getting an error. I don't know why it's saying it's using the username as the host.
Also, I tried the sourcebans 2.0 alpha version, and it works fine with MySQL.