Ralf Becker
8700b3a2e1
fix no longer working db-creation after 6dfe752b7f
allow to switch whole database readonly
2017-03-13 16:43:01 +01:00
Ralf Becker
6dfe752b7f
allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php
2017-03-09 16:48:26 +01:00
Ralf Becker
0e8cc03032
using correct defaults eg. "template1" for postgres
2016-08-07 11:19:01 +02:00
Ralf Becker
139ee0dab1
no need to log connection retries and final connection failures are always thrown, fixes 5 connection failures log for creating new databases
2016-06-05 16:59:55 +02:00
Ralf Becker
d12e2c806d
quitening connection trial for testing database is there
2016-06-02 12:34:51 +02:00
Ralf Becker
ca2ffb6aea
using new api for setup
2016-05-01 15:56:49 +00:00
Ralf Becker
f303930f6d
need to replace - and . with _ in database-name
2014-04-16 20:14:19 +00:00
Ralf Becker
da74bf4210
prefering mysqli for new installs
2013-05-26 09:43:10 +00:00
Ralf Becker
6c885b31fb
- setting set_defaults also with values containing (now replaced) replacements like $domain
...
- shorten db-name/-user to self::MAX_DB_NAME_LEN chars
2010-08-25 12:24:11 +00:00
Ralf Becker
5d6e6cdc9c
new parameter $make_db_name_unique to append a decrementing numeric postfix to db_name and db_user, if db already exists
2010-07-31 09:23:41 +00:00
Ralf Becker
58993cfb7b
- using EGW_*_ROOT instead of .., to allow running from different directories
...
- allow running setup_cmd_admin directly via the command line with regular syntax (was already possible under special syntax)
- limiting database names to 16 chars, which is the limit in mysql
2010-07-26 08:20:14 +00:00
Ralf Becker
9ebd2fab61
"new sub-command to drop database and user"
2009-05-21 22:16:09 +00:00
Ralf Becker
cddd95b571
allow to set language via setup-cli
2008-11-23 16:46:32 +00:00
Ralf Becker
92c5157b90
add grant host to db creation
2008-11-18 19:58:11 +00:00
Ralf Becker
8d7c57e253
small fix
2008-10-02 15:27:39 +00:00
Ralf Becker
c27c36286e
allow to call command objects via setup-cli
2008-01-14 05:44:32 +00:00
Ralf Becker
e3a9dc646f
- installs can now be switched before the install happens to ldap, so all default records get created (eg. sitemgr is working)
...
- new setup command to create an admin user, used eg. from setup-cli.php
2007-12-13 02:41:55 +00:00
Ralf Becker
573e27ad2e
"egw_db::create_database gives no returnvalue, so we need to test the new db by connecting to it"
2007-12-11 01:43:18 +00:00
Ralf Becker
f0e0d84e55
next step config is now also a command object and added better&shorter passwords
2007-12-11 01:28:07 +00:00
Ralf Becker
3a6b8ce799
typo
2007-12-09 22:48:53 +00:00
Ralf Becker
b96ebc16fc
new command objects to install an instance: create database, ldap structur, create/edit header (used by setup-cli too)
2007-12-09 08:03:15 +00:00