
19th February 2009, 14:13
|
|
Senior Member
|
|
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
|
|
Ok thanks. Not what I had hoped for but you can't have everything I guess
|

21st April 2009, 14:10
|
|
Senior Member
|
|
Join Date: Dec 2008
Posts: 163
Thanks: 14
Thanked 0 Times in 0 Posts
|
|
hi, the numbers of groups and users not match in my olds and news files passwd , shadow and group. What numbers should I keep?
|

24th May 2009, 11:59
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,191
Thanks: 61
Thanked 13 Times in 11 Posts
|
|
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.
|

24th May 2009, 12:16
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,191
Thanks: 61
Thanked 13 Times in 11 Posts
|
|
I tried exporting/importing via phpmyadmin as its a small DB but then I get this type of errors in every table:
Quote:
The following indexes appear to be equal and one of them should be removed: comment_author_url, comment_author_url_2
The following indexes appear to be equal and one of them should be removed: PRIMARY, comment_ID_2
The following indexes appear to be equal and one of them should be removed: comment_post_ID, comment_post_ID_2
The following indexes appear to be equal and one of them should be removed: comment_date_gmt, comment_date_gmt_2
The following indexes appear to be equal and one of them should be removed: comment_approved, comment_approved_2
The following indexes appear to be equal and one of them should be removed: PRIMARY, comment_ID
|
|

25th May 2009, 12:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Quote:
Originally Posted by Tenaka
trying to export from MySQL version 5.0.51 via 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:
stil no go?
|
You might want to try the --opt switch.
|

25th May 2009, 13:29
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,191
Thanks: 61
Thanked 13 Times in 11 Posts
|
|
as in replacing the -c with --opt? don't have ssh access right now so I can't consult the man pages right now...
|

26th May 2009, 22:49
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
The --opt switch replaces multiple other switches. Please take a look at the man page.
|

28th May 2009, 11:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Oh, sorry. The mysqldump command has an --opt switch...
|

15th June 2009, 21:31
|
|
Senior Member
|
|
Join Date: Apr 2008
Posts: 116
Thanks: 6
Thanked 6 Times in 4 Posts
|
|
Help!
I really screwed up guys
I messed up all my permissions from /
I am trying to move all ISPConfig data over to a new server
I followed the steps however the MySQL server does not start after following the moving ispconfig steps
Also, before the permissions got all screwed up on this server I backed up all the databases to 'Localhost.sql'
My new server does not have a graphics card....
How can I import all my databases from 'localhost.sql' into the new mysql server from the command line?
I'm not talking about one at a time...i backed them ALL up, ALL DB's to one sql dump
Last edited by kextra1; 15th June 2009 at 21:37.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:13.
|
Recent comments
11 hours 47 min ago
12 hours 47 min ago
16 hours 34 min ago
17 hours 48 min ago
21 hours 24 min ago
1 day 4 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 6 hours ago
2 days 8 hours ago