<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xmission.com/index.php?action=history&amp;feed=atom&amp;title=XMission_Control_Panel%2FServer%2FMySQLdump</id>
	<title>XMission Control Panel/Server/MySQLdump - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xmission.com/index.php?action=history&amp;feed=atom&amp;title=XMission_Control_Panel%2FServer%2FMySQLdump"/>
	<link rel="alternate" type="text/html" href="https://wiki.xmission.com/index.php?title=XMission_Control_Panel/Server/MySQLdump&amp;action=history"/>
	<updated>2026-05-02T19:32:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.xmission.com/index.php?title=XMission_Control_Panel/Server/MySQLdump&amp;diff=9343&amp;oldid=prev</id>
		<title>Jab at 21:31, 25 September 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.xmission.com/index.php?title=XMission_Control_Panel/Server/MySQLdump&amp;diff=9343&amp;oldid=prev"/>
		<updated>2018-09-25T21:31:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:31, 25 September 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l39&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The -D switch can be used to dump a skeleton of a database without any data in it.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The -D switch can be used to dump a skeleton of a database without any data in it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The --add-drop-table switch will ensure that when the SQL is uploaded to another SQL server it drops the tables before creating them.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The --add-drop-table switch will ensure that when the SQL is uploaded to another SQL server it drops the tables before creating them.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Control Panel]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jab</name></author>
	</entry>
	<entry>
		<id>https://wiki.xmission.com/index.php?title=XMission_Control_Panel/Server/MySQLdump&amp;diff=7588&amp;oldid=prev</id>
		<title>Boom: Created page with &quot;=What is MySQLdump= MySQLdump is a tool used to dump a database or a collection of databases for backup or transfer to another SQL server. It can be used to migrate databases ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.xmission.com/index.php?title=XMission_Control_Panel/Server/MySQLdump&amp;diff=7588&amp;oldid=prev"/>
		<updated>2016-04-14T23:45:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=What is MySQLdump= MySQLdump is a tool used to dump a database or a collection of databases for backup or transfer to another SQL server. It can be used to migrate databases ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=What is MySQLdump=&lt;br /&gt;
MySQLdump is a tool used to dump a database or a collection of databases for backup or transfer to another SQL server. It can be used to migrate databases to and from your Cloud Servers.&lt;br /&gt;
&lt;br /&gt;
Simply put, MySQLdump outputs the SQL statements that were used to create a database, tables and all of the data in the tables. It can output these statements in multiple formats and with more or less output information as needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
*Since mysqldump just outputs SQL statements it is usually helpful to truncate the output to a file. A common mysqldump may look like this: &lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mysqldump -h&amp;#039;localhost&amp;#039; -u&amp;#039;b_89756&amp;#039; -p &amp;#039;databasename&amp;#039; &amp;gt; databasename.sql&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Looking at this command piece by piece makes it easy to understand.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;mysqldump:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|invokes the mysqldump command&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;-h:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|specifies what host to connect to, but is not needed if connecting to localhost. &amp;#039;&amp;#039;&amp;#039;Still we recommend using it to be sure of where content is obtained from&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;-u:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|specifies the user to login to mysql as&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;-p:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|tells mysql to ask for a password&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;databasename:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|specifies which database to dump&lt;br /&gt;
|-&lt;br /&gt;
|&amp;#039;&amp;#039;&amp;#039;&amp;gt; databasename.sql:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|truncates the output of the mysql command to a file&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Switches==&lt;br /&gt;
*Different switches can be used to change the output of the mysqldump. See the following link for a list of mysqldump switches: [http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Helpful Tips==&lt;br /&gt;
*The -D switch can be used to dump a skeleton of a database without any data in it.&lt;br /&gt;
*The --add-drop-table switch will ensure that when the SQL is uploaded to another SQL server it drops the tables before creating them.&lt;/div&gt;</summary>
		<author><name>Boom</name></author>
	</entry>
</feed>