RevCMS HELP

Solar

Member
Jan 24, 2012
135
10
The answer lies in the error. You need to edit your app>management>config to your proper mysql settings.
If you are using seperate hosts of mysql and your web server... Make sure your mysql is accessible and not as a localhost.
 

matthew2020

New Member
May 30, 2012
5
0
Are you using any other ports than port 80? If so, for example the default is localhost but if you modified your ports in Xampp to port 8080 then you would put localhost:8080. Common mistake that I learnt from.

So for example if you are using port 8080 you would go from

Code:
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
 
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
 
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
 
$_CONFIG['mysql']['password'] = 'root'; //MySQL password
 
$_CONFIG['mysql']['database'] = 'Your database'; //MySQL database
 
$_CONFIG['mysql']['port'] = '3306'; //MySQL's por


to

Code:
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
 
$_CONFIG['mysql']['hostname'] = 'localhost:8080'; //MySQL host
 
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
 
$_CONFIG['mysql']['password'] = 'Your Password'; //MySQL password
 
$_CONFIG['mysql']['database'] = 'Your database name'; //MySQL database
 
$_CONFIG['mysql']['port'] = '3306'; //MySQL's por


Hope I helped!
 

Users who are viewing this thread

Top