List:General Discussion« Previous MessageNext Message »
From:Jon  Miller Date:December 31 2005 7:44am
Subject:rentering a sql script
View as plain text  
I have a sql script that needs to be re entered using the following command mysql <
create.sql but the database already exists.  IS there a way to overwrite or update the
database using the script, or do I have to delete the existing database?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>I have a sql script that needs to be re entered using the following command 
mysql &lt; create.sql but the database already exists.&nbsp; IS there a way to 
overwrite or update the database using the script, or do I have to delete the 
existing database?</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

Thread
rentering a sql scriptJon  Miller31 Dec
  • Re: rentering a sql scriptDavid Logan31 Dec