updated home page to reflect backups status
process runtime now limited to 10 rather than 20 secs
session garbage collection turned off
git-svn-id: svn://presbrey.mit.edu/sql/web/main@124
a142d4bd-2cfb-0310-9673-
cb33a7e74f58
-#!/usr/bin/php
+#!/usr/bin/php -q
<?php
require_once(dirname(__FILE__).'/../mitsql.cfg.php');
if ($Login->canSignup()) {
$User = new User($Login->getUserId());
$User->signup($myPassword);
- die($myPassword);
+ exit($myPassword);
}
?>
-SET @NAME=185;
+SET @NAME=904;
+REVOKE ALL PRIVILEGES, GRANT OPTION FROM `6.096`;
USE mitsql;
DELETE FROM DBQuota WHERE DatabaseId IN (SELECT DatabaseId FROM DBOwner WHERE UserId = @NAME);
require_once('mitsql.lib.php');
isOffline() && exit;
-define('MAX_PROC_TIME', 20);
+define('MAX_PROC_TIME', 10);
$baddbs = $badusers = $bad = array();
$result = mysql_query('SHOW FULL PROCESSLIST');
auto_append_file = "global.done.php"
session.save_path = "/afs/athena.mit.edu/contrib/sql/web_tmp"
output_buffering = 4096
+session.gc_probability=0
</p>
<p>
-Although this service has been designed with reliability in mind, the SIPB MySQL service should not be used to host critical applications that cannot tolerate downtime.
-We perform no query logging, schema or data backups, or any other backups otherwise generally available. You are solely responsible for performing backups of your data.
-We maintain general usage statistics of this service by the MIT community at large.
+This service has been designed with reliability in mind; we utilize RAID, live server mirroring and periodic offline backups to ensure data reliability.
+However, the SIPB MySQL service should not be used to host critical applications that cannot tolerate downtime.
+One nightly backup is available for your locker at <code>/mit/sql/backup/LOCKER_NAME</code>. You should perform additional backups of your data using the <a href="http://scripts.mit.edu/cron">shortjobs service</a> or <a href="http://scripts.mit.edu/faq/10/how-can-i-back-up-or-restore-my-sql-data">phpMyAdmin</a>.
</p>
<?php