156 lines
3.7 KiB
HTML
156 lines
3.7 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>MySQLMan: mysqldump</TITLE>
|
|
</HEAD>
|
|
<BODY BGCOLOR="#CCCCCC">
|
|
<table border=1 bgcolor="#FFFFFF" cellpadding=5 cellspacing=3 width="100%" align=center valign=top>
|
|
<tr><td bgcolor="navy">
|
|
<FONT FACE="MS Sans Serif, arial,helvetica" size=1 COLOR="#FFFFFF">
|
|
<b>MySQLMan: SQL Dump - <%table%></b>
|
|
</td></tr>
|
|
<tr><td>
|
|
<%include header.txt%>
|
|
<UL>
|
|
<FORM METHOD="POST" ACTION="<%script_url%>">
|
|
<INPUT TYPE="hidden" name="<%do_param%>" VALUE="mysqldump">
|
|
<INPUT TYPE="hidden" NAME=data_source VALUE="<%data_source%>">
|
|
<INPUT TYPE="hidden" NAME=table VALUE="<%table%>">
|
|
<input type="radio" name="dump_to_screen" value="1" CHECKED> <B>Dump to screen.</B><BR>
|
|
<input type="radio" name="dump_to_screen" value="0"> <B>Dump to file.
|
|
Path:</B><INPUT TYPE="text" NAME="dump_file" VALUE="" SIZE="50"></input>
|
|
<P>
|
|
<table border="0" width="893">
|
|
|
|
|
|
<tr>
|
|
<td colspan=3>
|
|
<B>Select tables:</B><BR>
|
|
<input type="radio" name="dump_whole_db" value="1" CHECKED> Dump all tables in database <i><%db%></i><br>
|
|
<input type="radio" name="dump_whole_db" value="0"> Dump selected tables only<BR>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<TD>
|
|
</TD>
|
|
<td colspan=2>
|
|
<%set select_cols = 5%>
|
|
<table>
|
|
<tr>
|
|
<%loop tb_checkboxes%>
|
|
<td valign="top">
|
|
<input type="checkbox" name="*dump_table*_<%name%>" value="<%name%>"<%if first%> checked<%endif%>><%name%>
|
|
</td>
|
|
<%unless last or row_num % $select_cols%>
|
|
</tr>
|
|
<tr>
|
|
<%endunless%>
|
|
<%if last and row_num % $select_cols%>
|
|
<td colspan="<%row_num ~ $select_cols%>">
|
|
|
|
</tr>
|
|
<%endif%>
|
|
<%endloop%>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20" colspan=3>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan=3>
|
|
<B>CREATE TABLE statements:</B>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20" rowspan="2" valign=top><input type="radio" name="op_create_st" value="1" checked></td>
|
|
<td width="859" colspan="2">Write CREATE TABLE statements.<BR>
|
|
Options:
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20" valign=top><input type="checkbox" name="add_drop_table" value="1"></td>
|
|
<td width="833">
|
|
Add a DROP TABLE IF EXISTS statement before each CREATE TABLE statement.<br>
|
|
(--add-drop-table)</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20" valign=top><input type="radio" name="op_create_st" value="0"></td>
|
|
<td width="859" colspan="2">
|
|
Do not write CREATE TABLE statements.
|
|
<br>(--no-create-info)
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20" colspan=3>
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan=3>
|
|
<B>INSERT statements:</B>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td width="20" rowspan="4" valign=top><input type="radio" name="op_dump_db" value="1" checked></td>
|
|
<td width="859" colspan="2">
|
|
Write INSERT statements.<BR>
|
|
Options:
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20" valign=top>
|
|
<input type="checkbox" name="complete_insert" value="1">
|
|
</td>
|
|
<td width="833">
|
|
Use INSERT statements that name each column to be inserted.
|
|
<br>(--complete-insert)
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20" valign=top>
|
|
<input type="checkbox" name="delayed_insert" value="1">
|
|
</td>
|
|
<td width="833">
|
|
Write INSERT DELAYED statements.
|
|
<br>(--delayed-insert)
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20" valign=top>
|
|
<input type="checkbox" name="extended_insert" value="1">
|
|
</td>
|
|
<td width="833">
|
|
Write multiple-row INSERT statements.
|
|
<br>(--extended-insert)
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td width="20" valign=top><input type="radio" name="op_dump_db" value="0"></td>
|
|
<td width="859" colspan="2">
|
|
Do not write table data.
|
|
<br>(--no-data)
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<INPUT TYPE="submit" value=" Go ">
|
|
</FORM>
|
|
<P>
|
|
</UL>
|
|
</td></tr></table>
|
|
</BODY></HTML>
|