palczi

Joined: 23rd May 2009
Posts: 84
webcp annoying problem.
I have a very annoying problem. My server is running at MySQL dbase and I've tried to get webcp working on my website. I downloaded 'wamp server', portforwarded all ports (3306,8078 etc). While I'm running a wamp server and starting all services on http://localhost it shows a TOP100 players, top
guilds, who is online etc. But when I uploaded all files from wamp server it says that:
Access denied for user 'root'@'localhost' (using password: YES) (Database.class.php:38).
Where is the problem? Can someone help me?
15 years, 40 weeks ago
|
|
Re: webcp annoying problem.
For the Access denied part, im pretty sure that means, you have the wrong password.
For the Database part, I have no clue, maybeh someone will post on that.
15 years, 40 weeks ago
|
Apollo
Administrator
Joined: 14th Apr 2009
Posts: 2759
Re: webcp annoying problem.
Looks like your WebCP either isn't configured with the correct user/password combination, or something is blocking access to MySql. I would start with firewalls and restarting routers/modems and the PC. Make sure the config for WebCP is in agreement with the config.ini. But if I am right, I
don't think it is the config. You can bring the site up with localhost so it seems to be more of a block from outside connections. If your firewall software has a history tab, check that as well. It may enlighten you. My firewall program was in fact blocking connections to the ports I had open. I
noticed this when I had IP's blocked that were also the IP's of people connected to the server. Anyway, I hope that helps get your page online.
15 years, 40 weeks ago
|
palczi

Joined: 23rd May 2009
Posts: 84
Re: webcp annoying problem.
CONFIG FILES:
### DATABASE ###
## DBType
# Database type (mysql or sqlite)
DBType = mysql
## DBHost
# MySQL hostname / SQLite filename
DBHost = localhost
## DBUser
# Database username (MySQL only)
DBUser = root
## DBPass
# Database password (MySQL only)
DBPass = pass
## DBName
# Database name (MySQL only)
DBName = eohardcore
// Database connection info
$dbtype = 'mysql';
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'pass';
$dbname = 'eohardcore';
Anyway, thx for helping me.
15 years, 40 weeks ago
| | |