Sourcebans Unknown MySQL Server Host 'root'
I've been trying to install Sourcebans on my vps, and I've gotten to the point where I need to set up the MySQL stuff. I've gotten to here:
https://i.imgur.com/oJpjRbP.png When I submit this, I get this peculiar error: Code:
Fatal error: mysqli error: [2005: Unknown MySQL server host 'root' (2)] in CONNECT(root, '****', '****', !!@***.**.***.**:3306/sourcebans) in /usr/share/nginx/html/sourcebans/includes/adodb/adodb-errorhandler.inc.php on line 77 As well, I made a test PHP script to connect to my database, and it worked fine as so: Code:
<?php |
Re: Sourcebans Unknown MySQL Server Host 'root'
Quote:
Enter the IP address (or hostname) of the server providing the SQL service in that hostname. Ask the hosting provider, providing you with the SQL server for that information. If you are having a SQL server on the same machine as your game servers (and/or SourceBans web panel), as your text indicates, you could try "127.0.0.1" or "localhost" (both pointing to the machine where the traffic originates from). |
Re: Sourcebans Unknown MySQL Server Host 'root'
Quote:
https://i.imgur.com/vTxx7Hl.png 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 Also, I tried the sourcebans 2.0 alpha version, and it works fine with MySQL. |
All times are GMT -4. The time now is 04:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.