Hi,
in my forum i was using an external DB server, i want to use the local server so i edited the wcf/config.inc.php but the forum still using the external DB... why?
Thanks
Hi,
in my forum i was using an external DB server, i want to use the local server so i edited the wcf/config.inc.php but the forum still using the external DB... why?
Thanks
if you edited properly
ZitatAlles anzeigen<?php
$dbHost = '';
$dbPort = 0;
$dbUser = '';
$dbPassword = '';
$dbName = ';
$dbClass = 'wcf\system\database\MySQLDatabase';
if (!defined('WCF_N')) define('WCF_N', 1);
the red marked lines, uploaded it to /wcf/config.inc.php then it should work immediately...
if you edited properly
the red marked lines, uploaded it to /wcf/config.inc.php then it should work immediately...
In my case no.. I dont know why..
Then I do not have a clue what is happening...
IF i change these entries and upload it it changes the sql server right away without any kind of delay.
So im quite confused why this happens with you.
But maybe there is a different reason for that and a more experienced user would be able to help.
maybe @SoftCreatR or @TimWolla can jump in?
Dunno. But i'm pretty sure, that this isn't caused by the software.
Mhhhhh, i also get fatal errors due too many connections to the sql server from the same user.... I need to found a solution.. Damn.
Mhhhhh, i also get fatal errors due too many connections to the sql server from the same user.... I need to found a solution.. Damn.
THis might not even be your problem but the hosters.
If you are runing on shared hosting for example it might be possible that other users max out your db conections
go into phpmyadmin and do the following check ups:
show variables like "max_connections";
show variables like "max_user_connections";
the first is to show how many your whole sever can do before going down
and the second how many you as a user are allowed to use up
I have a server that contains only the forum and a server with Plesk with some sites and the database of my board (this because before i would set the DDoS protection my CPU and RAM were going to 100% and the db was unavaible). Now my server is fully protected and i want to use the local mysql-server to improve the speed and to not see the fatal error..
So, i changed the config to use localhost server but when i vitis the board the server still open connections to the remote mysql-server and if i open 3 page at the same time i get "Fatal error"..
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!