[Rt-commit] rt branch, 4.4/skip-sqlite-password, created. rt-4.4.0-268-g84cf593

Alex Vandiver alexmv at bestpractical.com
Thu Jul 14 03:52:36 EDT 2016


The branch, 4.4/skip-sqlite-password has been created
        at  84cf59304588e4936aaa550681968b08fae6b260 (commit)

- Log -----------------------------------------------------------------
commit 84cf59304588e4936aaa550681968b08fae6b260
Author: Alex Vandiver <alex at chmrr.net>
Date:   Thu Jul 14 00:51:00 2016 -0700

    Skip DBA password prompt on SQLite
    
    SQLite has no password control; as such, the prompt accepts any value,
    currently, and serves no purpose.
    
    Omit the "DBA database password" prompt on SQLite entirely.

diff --git a/sbin/rt-setup-database.in b/sbin/rt-setup-database.in
index 8b0e1ff..951d7f6 100644
--- a/sbin/rt-setup-database.in
+++ b/sbin/rt-setup-database.in
@@ -615,6 +615,7 @@ sub error {
 }
 
 sub get_dba_password {
+    return "" if $db_type eq 'SQLite';
     print "In order to create or update your RT database,"
         . " this script needs to connect to your "
         . " $db_type instance on $db_host (port '$db_port') as $dba_user\n";

-----------------------------------------------------------------------


More information about the rt-commit mailing list