<dt>
		<b>EXPERIMENTAL:</b> You can enable explicit Unicode charset support
		for MySQL 4.1 and 5.0 servers. This is not well tested and may
		cause things to break. <b>If upgrading an older installation, leave
		in backwards-compatible mode.</b>
	</dt>

	<dd>
		<?php 
    aField($conf, "RootUser", "Super user:"******"text");
    ?>
	</dd>

	<dd>
		<?php 
    aField($conf, "RootPW", "Password:"******"password");
    ?>
	</dd>
	<dt>
		If the database user specified above does not exist, or does not have permissions to create
		the database or tables required, please provide details of a superuser account, such as <strong>root</strong>,
		which does. If this is not needed, leave the password set to <strong>-</strong>.
	</dt>

	<dd>
		<label class='column'>&nbsp;</label>
		<input type="submit" value="Install!" />
	</dd>
</dl>

function database_picker($conf)
{
    global $ourdb;
    print "\n";
    foreach (array_keys($ourdb) as $db) {
        if ($ourdb[$db]['havedriver']) {
            print "\t<li>";
            aField($conf, "DBtype", $ourdb[$db]['fullname'], 'radio', $db, 'onclick');
            print "</li>\n";
        }
    }
    print "\n\t";
}
Beispiel #3
0
	<dd><?php 
    aField($conf, "DBprefix", "Database table prefix");
    ?>
</dd>
	<dt>
		<p>If you need to share one database between multiple wikis, or
		MediaWiki and another web application, you may choose to
		add a prefix to all the table names to avoid conflicts.</p>

		<p>Avoid exotic characters; something like <tt>mw_</tt> is good.</p>
	</dt>

	<dd>
		<?php 
    aField($conf, "RootPW", "DB root password", "password");
    ?>
	</dd>
	<dt>
		You will only need this if the database and/or user account
		above don't already exist.
		Do <em>not</em> type in your machine's root password! MySQL
		has its own "root" user with a separate password. (It might
		even be blank, depending on your configuration.)
	</dt>

	<dd>
		<label class='column'>&nbsp;</label>
		<input type="submit" value="Install!" />
	</dd>
</dl>