From 0728b935c0beb27b03ed71d29f55e89ac711ff07 Mon Sep 17 00:00:00 2001 From: Joshua Ruehlig Date: Fri, 21 Apr 2017 10:43:16 -0700 Subject: [PATCH] Update ubuntu.rst I'm not a linux/ubuntu guy, but I am 90% sure this is correct =P --- docs/installationguide/ubuntu.rst | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/docs/installationguide/ubuntu.rst b/docs/installationguide/ubuntu.rst index 6e7ac45e4..5c0d8bb0b 100644 --- a/docs/installationguide/ubuntu.rst +++ b/docs/installationguide/ubuntu.rst @@ -358,24 +358,6 @@ Changed Default DB User ^^^^^^^^^^^^^^^^^^^^^^^ If you have changed your DB login/password from zmuser/zmpass, you need to -update these values in zm.conf and the API's database.php file. +update these values in zm.conf. 1. Edit zm.conf to change ZM_DB_USER and ZM_DB_PASS to the values you used. - -2. Edit databse.php which can be found in the web server folder zoneminder/www/api/app/Config - -There is a class there called DATABASE_CONFIG - -change the $default array to reflect your new details. Example: - -:: - - public $default = array( - 'datasource' => 'Database/Mysql', - 'persistent' => false, - 'host' => 'localhost', - 'login' => 'mynewDBusername', - 'password' => 'mynewDBpassword' - 'database' => 'zm', - 'prefix' => '', - //'encoding' => 'utf8', - ); \ No newline at end of file