added hints how to specify a port for the database connection
This commit is contained in:
parent
b9b047f2af
commit
a9b948d6f9
11
INSTALL.txt
11
INSTALL.txt
|
@ -71,9 +71,14 @@ write or create files in your web directory, create an empty file called
|
|||
.htconfig.php and make it writable by the web server.
|
||||
|
||||
5. Visit your website with a web browser and follow the instructions. Please
|
||||
note any error messages and correct these before continuing. If you are using
|
||||
SSL with a known signature authority (recommended), use the https: link to your
|
||||
website. If you are using a self-signed cert or no cert, use the http: link.
|
||||
note any error messages and correct these before continuing.
|
||||
|
||||
If you are using SSL with a known signature authority (recommended), use the
|
||||
https: link to your website. If you are using a self-signed cert or no cert,
|
||||
use the http: link.
|
||||
|
||||
If you need to specify a port for the connection to the database, you can do
|
||||
so in the host name setting for the database.
|
||||
|
||||
6. *If* the automated installation fails for any reason, check the following:
|
||||
|
||||
|
|
|
@ -82,6 +82,8 @@ Restart mysql and you should be fine.
|
|||
Point your web browser to the new site and follow the instructions.
|
||||
Please note any error messages and correct these before continuing.
|
||||
|
||||
If you need to specify a port for the connection to the database, you can do so in the host name setting for the database.
|
||||
|
||||
*If* the automated installation fails for any reason, check the following:
|
||||
|
||||
* Does ".htconfig.php" exist? If not, edit htconfig.php and change the system settings. Rename to .htconfig.php
|
||||
|
|
|
@ -117,3 +117,10 @@ If more then one account should be able to access the admin panel, seperate the
|
|||
If you want to have a more personalized closing line for the notification emails you can set a variable for the admin_name.
|
||||
|
||||
$a->config['admin_name'] = "Marvin";
|
||||
|
||||
## Database Settings
|
||||
|
||||
The configuration variables db_host, db_user, db_pass and db_data are holding your credentials for the database connection.
|
||||
If you need to specify a port to access the database, you can do so by appending ":portnumber" to the db_host variable.
|
||||
|
||||
$db_host = 'your.mysqlhost.com:123456';
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
<?php
|
||||
|
||||
/* ********************************************************************
|
||||
* The following configuration has to be within the .htconfig file
|
||||
* and will not be overruled by decisions made in the admin panel.
|
||||
* The following configuration has to be within the .htconfig.php
|
||||
* file and will not be overruled by decisions made in the admin panel.
|
||||
*
|
||||
* See below for variables that may be overruled by the admin panel.
|
||||
* ********************************************************************/
|
||||
|
||||
// Set the following for your MySQL installation
|
||||
// Copy or rename this file to .htconfig.php
|
||||
//
|
||||
// If you need to specify a port for reacing the database, you can do so by
|
||||
// adding ":portnumber" after "your.mysqlhost.com" in the $db_host config.
|
||||
|
||||
$db_host = '{{$dbhost}}';
|
||||
$db_user = '{{$dbuser}}';
|
||||
|
|
Loading…
Reference in a new issue