View Single Post
  #163  
Old 24th May 2009, 11:59
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

trying to export from MySQL version 5.0.51 via
Quote:
h1550830:~/.ftplicity# mysql -h localhost -u root -pmyPass -c --add-drop-table --add-locks --all --quick --lock-tables web6db5 > /root/web6db5.sql
mysql: unknown option '-c'
as shown here: http://www.howtoforge.com/faq/6_3_en.html

can someone please explain what to use instead of this -c switch?

ok, seems the -c switch is obsolete, so I tried the replacement --skip-auto-rehash:

Quote:
h1550830:~/.ftplicity# mysql -h localhost -u root -pmyPass --skip-auto-rehash --add-drop-table --add-locks --all --quick --lock-tables web6db5 > /root/web6db5.sql
mysql: unknown option '--add-drop-table'
h1550830:~/.ftplicity#
stil no go?

Last edited by Ovidiu; 24th May 2009 at 12:05.
Reply With Quote