<div>
I am sorry. I just read the message properly and you seem to be using Windows. Try MySQL Administrator. It's a Windows tool you can use to manage SQL servers, both local and remote. (Look for the restore functionality.)<br>
</div>
<div id="B457354F00FB40D297BD421DB558B584">-- <br>Sadiq Saif<br>Sent with <a href="http://www.sparrowmailapp.com">Sparrow</a></div>
<br>
<p style="color: #a0a0a0;">On Monday, December 20, 2010 at 5:02 PM, Sadiq Saif wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<div><div><div>
<div>
When you expand the bz2 file, do you get a .sql file? If you do, you can use the terminal to import this onto the MySQL server.</div><div><br></div><div><span id="goog_1136711040"></span><span id="goog_1136711041"></span><span id="goog_1136711042"></span><span id="goog_1136711043"></span>The command syntax is as follows:</div><div><br></div><div><span id="goog_1136711044"></span><span id="goog_1136711045"></span><span id="goog_1136711046"></span><span id="goog_1136711047"></span>mysql -uUSERNAME -p NEWDBNAME < /path/to/new/dump.sql</div><div><br></div><div><span id="goog_1136711048"></span><span id="goog_1136711049"></span><span id="goog_1136711050"></span><span id="goog_1136711051"></span>The new DB name doesn't have to be the same as the old one.</div><div><span id="goog_1136711052"></span><span id="goog_1136711053"></span>NOTE - NEWDBNAME must be the name of a database that you have already created using phpmyadmin.</div><div><br></div><div><span id="goog_1136711054"></span><span id="goog_1136711055"></span><span id="goog_1136711056"></span><span id="goog_1136711057"></span>Good luck!<br>
<br>
</div>
<div id="77B79EF4BB144294B608730BFDABA011">-- <br>Sadiq Saif<br>Sent with <a href="http://www.sparrowmailapp.com">Sparrow</a></div>
<br>
<p style="color: #a0a0a0;">On Sunday, December 19, 2010 at 8:32 PM, <a href="mailto:sciguy@vex.net">sciguy@vex.net</a> wrote:</p><blockquote type="cite"><div>
<div><div><div>Anyone know about or used the phpmyadmin interface for database management?<br><br>I am new to phpMyAdmin, and am trying to read a backup of a database from<br>my website on to my localhost machine (a laptop running W7).<br><br>My file backup.bz2 is 1.7 megs (expands to about 14 megs), and I have<br>downloaded it locally, and have attempted to read it through a version of<br>phpMyAdmin (3.3.8.1) which comes with EasyPHP.<br><br>So, using the "Import" interface, I find my database, then select MySQL323<br>compatability mode (version 3.23 is what my host uses), and I get:<br><br>-----8<---------SNIP------------8<--------SNIP------------------<br>Error<br><br>SQL query:<br><br>--<br>-- Table structure for table `alimentarus_comments`<br>--<br>DROP TABLE IF EXISTS `alimentarus_comments` ;<br><br>MySQL said: Documentation<br>#1046 - No database selected<br>-----8<---------SNIP------------8<--------SNIP------------------<br><br>Can anyone help me with this error?<br><br>Paul King<br><br>--<br>The Toronto Linux Users Group. Meetings: <a href="http://gtalug.org">http://gtalug.org</a>/<br>TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists">http://gtalug.org/wiki/Mailing_lists</a><br></div></div></div>
</div></blockquote><div>
<br>
</div>
</div></div></div>
</blockquote>
<div>
<br>
</div>