Hi. I've created a MySQLDump of a quite large database, and am trying to re-import the data into it. When I created it, I didn't invoke the drop tables stuff with --add-drop-tables. Is there a way I can do this with 'mysql' ? i.e....
mysql --drop-tables -uxxx -pxxx DatabaseName < file.sql
... or is it a case of having to totally wipe the database, and re-doing it from scratch with the MySQLDump file? I'm hoping there is a different option to the latter
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
mysql --drop-tables -uxxx -pxxx DatabaseName < file.sql
... or is it a case of having to totally wipe the database, and re-doing it from scratch with the MySQLDump file? I'm hoping there is a different option to the latter
TIA
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!