- Timestamp:
- 2018-11-08T21:25:36+13:00 (5 years ago)
- Location:
- main/trunk/greenstone2/perllib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/GreenstoneSQLPlugin.pm
r32586 r32589 178 178 'type' => "string", 179 179 'deft' => "", 180 'reqd' => " yes"}, # pwd required?180 'reqd' => "no"}, # pwd required? NO. 181 181 { 'name' => "db_host", 182 182 'desc' => "{GreenstoneSQLPlug.db_host}", … … 184 184 'deft' => "127.0.0.1", 185 185 'reqd' => "yes"}, 186 { 'name' => "db_port", 187 'desc' => "{GreenstoneSQLPlug.db_port}", 188 'type' => "string", # NOTE: make this int? No default for port, since it's not a required connection param 189 'reqd' => "no"} 186 190 ]; 187 191 … … 261 265 'db_client_pwd' => $self->{'db_client_pwd'}, 262 266 'db_host' => $self->{'db_host'}, 267 'db_port' => $self->{'db_port'}, # undef by default, can leave as is 263 268 'autocommit' => $autocommit 264 269 }) -
main/trunk/greenstone2/perllib/plugouts/GreenstoneSQLPlugout.pm
r32586 r32589 105 105 'type' => "string", 106 106 'deft' => "", 107 'reqd' => " yes"}, # pwd required?107 'reqd' => "no"}, # pwd required? NO. 108 108 { 'name' => "db_host", 109 109 'desc' => "{GreenstoneSQLPlug.db_host}", 110 110 'type' => "string", 111 111 'deft' => "127.0.0.1", 112 'reqd' => "yes"} 112 'reqd' => "yes"}, 113 { 'name' => "db_port", 114 'desc' => "{GreenstoneSQLPlug.db_port}", 115 'type' => "string", # NOTE: make this int? No default for port, since it's not a required connection param 116 'reqd' => "no"} 113 117 ]; 114 118 … … 178 182 'db_client_pwd' => $self->{'db_client_pwd'}, 179 183 'db_host' => $self->{'db_host'}, 184 'db_port' => $self->{'db_port'}, # undef by default, can leave as is 180 185 'autocommit' => $autocommit 181 186 }) -
main/trunk/greenstone2/perllib/strings.properties
r32586 r32589 1459 1459 GreenstoneSQLPlug.db_client_pwd:The password with which you connect to the (My)SQL database. 1460 1460 GreenstoneSQLPlug.db_host:The hostname on which the (My)SQL database server is running, 127.0.0.1 by default. Other values to try include localhost. 1461 GreenstoneSQLPlug.db_port:If your (My)SQL database server is NOT using the default port, then specift the port number here. Otherwise leave this field empty. 1461 1462 1462 1463 GreenstoneSQLPlug.rollback_on_cancel:Support for undo on cancel. Set to true to support rollbacks on cancel. Transactions are then only committed to the database at the end of import and buildcol. Set to false if you do not want undo support, in which case SQL statements are autocommitted to the database.
Note:
See TracChangeset
for help on using the changeset viewer.