<?xml version="1.0" encoding="utf-8"?>
<ruleset version="1.5.0">
	<customrules>
		<rule name="mysqlUserId" type="regex" test="/^[a-z0-9_]*$/i" />
	</customrules>
	<fields>
		<field name="db_type" required="true" default="mysql" />
		<field name="db_hostname" required="true" length="1:250" default="localhost" />
		<field name="db_port" required="true" length="1:250" rule="number" default="3306" />
		<field name="db_userid" required="true" length="1:250" rule="mysqlUserId" />
		<field name="db_password" required="true" length="1:250"/>
		<field name="db_database" required="true" length="1:250" />
		<field name="db_table_prefix" length="2:20" rule="alpha" />
	</fields>
</ruleset>
