Re: help: innodb database cannot recover

2013-06-21 Thread Johan De Meersman
:04:27 AM > Subject: Re: help: innodb database cannot recover > > I removed "ib_logfile0" and "ib_logfile1" and restarted mysql with > innodb_force_recovery=1, > mysql keeps crashing and restart: >   > > thd: 0x0 > Attempting backtrace. You can use the fol

Re: help: innodb database cannot recover

2013-06-21 Thread Peter
>boah you *must not* remove ibdata1 >it contains the global tablespace even with file_per_table >"ib_logfile0" and "ib_logfile1" may be removed, but make sure you have >a as cinsistent as possible backup of the whole datadir I removed "ib_logfile0" and "ib_logfile1" and restarted mysql with in

Re: help: innodb database cannot recover

2013-06-20 Thread Reindl Harald
Am 20.06.2013 23:47, schrieb Peter: >> Hello, >>> >>> I copied innodb database (ib_logfile0 ib_logfile1 ibdata1 and the whole >>> database directory) from one crashed machine to another. >>> I find that I cannot start database to get the database dat

Re: help: innodb database cannot recover

2013-06-20 Thread Peter
>Hello, >> >>I copied innodb database (ib_logfile0  ib_logfile1  ibdata1 and the whole >>database directory) from one crashed machine to another. >>I find that I cannot start database to get the database data any more. > > >>How did you copy the

Re: help: innodb database cannot recover

2013-06-20 Thread Peter
2013/6/20 Peter > >2013/6/20 Peter > >Hello, >> >>I copied innodb database (ib_logfile0  ib_logfile1  ibdata1 and the whole >>database directory) from one crashed machine to another. >>I find that I cannot start database to get the database data

Re: help: innodb database cannot recover

2013-06-20 Thread Peter
Am 20.06.2013 15:18, schrieb Peter: >> >>> I copied innodb database (ib_logfile0  ib_logfile1  ibdata1 and the whole >>> database directory) from one crashed machine to another. >>> I find that I cannot start database to get the database data any more. >

Re: help: innodb database cannot recover

2013-06-20 Thread Peter
Am 20.06.2013 15:18, schrieb Peter: >> >>> I copied innodb database (ib_logfile0  ib_logfile1  ibdata1 and the whole >>> database directory) from one crashed machine to another. >>> I find that I cannot start database to get the database data any more. >

Re: help: innodb database cannot recover

2013-06-20 Thread Manuel Arostegui
2013/6/20 Peter > > 2013/6/20 Peter > > Hello, > > I copied innodb database (ib_logfile0 ib_logfile1 ibdata1 and the whole > database directory) from one crashed machine to another. > I find that I cannot start database to get the database data any more. > > &g

Re: help: innodb database cannot recover

2013-06-20 Thread Peter
2013/6/20 Peter Hello, > >I copied innodb database (ib_logfile0  ib_logfile1  ibdata1 and the whole >database directory) from one crashed machine to another. >I find that I cannot start database to get the database data any more. >How did you copy the database? >Manuel

Re: help: innodb database cannot recover

2013-06-20 Thread Reindl Harald
Am 20.06.2013 15:18, schrieb Peter: > 2013/6/20 Peter > > Hello, >> >> I copied innodb database (ib_logfile0 ib_logfile1 ibdata1 and the whole >> database directory) from one crashed machine to another. >> I find that I cannot start database to get the data

Re: help: innodb database cannot recover

2013-06-20 Thread Manuel Arostegui
2013/6/20 Peter > Hello, > > I copied innodb database (ib_logfile0 ib_logfile1 ibdata1 and the whole > database directory) from one crashed machine to another. > I find that I cannot start database to get the database data any more. How did you copy the database? Manuel

Re: help: innodb database cannot recover

2013-06-20 Thread Reindl Harald
Am 20.06.2013 10:11, schrieb Peter: > 130620 00:47:08 mysqld_safe Starting mysqld daemon with databases from > /var/lib/mysql > InnoDB: Error: tablespace size stored in header is 456832 pages, but > InnoDB: the sum of data file sizes is only 262080 pages > InnoDB: Cannot start InnoDB. The tail o

help: innodb database cannot recover

2013-06-20 Thread Peter
Hello, I copied innodb database (ib_logfile0  ib_logfile1  ibdata1 and the whole database directory) from one crashed machine to another. I find that I cannot start database to get the database data any more. I tried innodb_force_recovery=1 or innodb_force_recovery=4, it doesn't help. He

Re: corrupt innodb database

2011-08-01 Thread a . smith
PS and put back the two log files you moved. PPS if you don't have any space currently to do what I suggested then at least softlink the log files from /tmp to their original locations. Quoting a.sm...@ukgrid.net: Quoting supr_star : This db is on its own partition, so I can't delete logs o

Re: corrupt innodb database

2011-08-01 Thread a . smith
Quoting supr_star : This db is on its own partition, so I can't delete logs or anything else to clear up space.  So I moved ib_logfile0 and ib_logfile1 This is a really bad idea as will break all ur InnoDB databases. Do you have space elsewhere on other partitions on the server? If yes mo

corrupt innodb database

2011-08-01 Thread supr_star
I'm not sure if this is the correct way to post, my apologies if it's not..   Anyway, I have a zabbix system on a mysql database where the ibdata1 file grew to 93GB and filled up the disk.  Restarting mysql results in: /etc/init.d/mysql: ERROR: The partition with /var/lib/mysql is too full! Th

Re: Rename InnoDB database

2009-04-07 Thread Shuly Avraham
Thank you everyone for your solutions. I have found one, which may be of use to you. It relies on the ability to rename a table from one database to another: mysql> rename table old_db.tabname to new_db.tabname You would first need to drop all triggers, then recreate them. So, I placed these co

Re: Rename InnoDB database

2009-04-07 Thread Krishna Chandra Prajapati
Hi shuly, 1 Use innodb_file_per_table. 2 Create new database. 3 Take the dump of old database. 4 Restore in new database. 5 Drop old database. On Mon, Apr 6, 2009 at 9:50 PM, Shuly Avraham wrote: > Hi, > > I need to rename a database having InnoDB tables. > MySQL version is: 5.0.24-standard - s

Re: Rename InnoDB database

2009-04-07 Thread Ding Hao
hi, I have a solution. Please my blog's http://www.fire9.cn/?p=132. good luck. - Ding Hao/Fire9 DB Architect Email&msn>alk: fire9di...@gmail.com My Blog:http://www.fire9.cn My Twitter: http://twitter.com/fire9 在 2009-4-7,上午12:20, Shu

Rename InnoDB database

2009-04-06 Thread Shuly Avraham
Hi, I need to rename a database having InnoDB tables. MySQL version is: 5.0.24-standard - so I cannot use the 'mysqladmin rename' option. What would be the best approach for doing this? Thanks, Shuly. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscrib

Re: mysqldump of huge innodb database

2007-09-24 Thread Dan Buettner
I know these two other solutions: > - Setting up a replication service > - Stopping mysql, copying db-files, and restart mysql > > Doing replication is not possible cause of the huge size of the > database. Hard-core copy of db-files causes a downtime of up to 8 hours > so

Re: mysqldump of huge innodb database

2007-09-24 Thread Benjamin Schmidt
not possible cause of the huge size of the database. Hard-core copy of db-files causes a downtime of up to 8 hours so it would be possible. Or does somebody has another (hope better) solution? With best regards, Benjamin Schmidt Hartleigh Burton wrote: Hiya, I was backing up a 95GB

RE: mysqldump of huge innodb database

2007-09-04 Thread Hartleigh Burton
Hiya, I was backing up a 95GB InnoDB database and forever had problems. It ended up working and I never really worked out exactly what the cause was... but try using the following: --opt (does --quick + extended-insert + others) --net_buffer_length=1G (set this to whatever you want, 1G is the

mysqldump of huge innodb database

2007-09-04 Thread Benjamin Schmidt
Hello list members Since a few days I get this error message when making a backup of my database: mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `dbmail_messageblks` at row: 174955 =

Re: InnoDB database Lost

2006-07-13 Thread sheeri kritzer
Hopefully you're not still having this problem. I don't use phpMyAdmin, but I know that it allows you to run "repair table" to try to fix a table after a crash. Does that work? -Sheeri On 6/25/06, Khaled Jouda <[EMAIL PROTECTED]> wrote: Hello, I am having a problem with one of my MySQL databa

[ANNOUNCE] dumpster :: dumps out all related records in a mySQL InnoDB database

2006-07-12 Thread Daevid Vincent
Hey all. Well I just finished my first version of a little tool I have affectionately dubbed "dumpster". I do use my own SQL wrapper functions, but they should map fairly cleanly to a search and replace for the stock PHP mysql_*() ones, or your own ones. Mad props to Peter Brawley [EMAIL PROTEC

InnoDB database Lost

2006-06-25 Thread Khaled Jouda
Hello, I am having a problem with one of my MySQL databases, the server was crashed, and then all InnoDB tables seem to be empty, when I click any innoDB table name in PhpMyAdmin i get the following error: #1016 - Can't open file: 'forums.ibd' (errno: 1) when I click the database name, I get a l

Re: innodb database crash

2006-05-30 Thread Heikki Tuuri
Vitaliy, - Original Message - From: "Vitaliy Okulov" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Friday, May 26, 2006 5:28 PM Subject: innodb database crash Hi all. I have some InooDB mysql crush logs, can somebody explain what they mean? Quote:

innodb database crash

2006-05-26 Thread Vitaliy Okulov
Hi all. I have some InooDB mysql crush logs, can somebody explain what they mean? Quote: 060525 18:09:43 InnoDB: Error: trying to declare trx to enter InnoDB, but InnoDB: it already is declared. TRANSACTION 0 550042370, ACTIVE 0 sec, process no 27054, OS thread id 163851, thread declared insid

Re: INNODB database size

2006-04-25 Thread Gary Richardson
have lots of good info on this. On 4/25/06, Todd Smith <[EMAIL PROTECTED]> wrote: > > Hello > > I have inherited an INNODB database. I am new to MySQL and may not be > describing my problem correctly so any suggestions or questions are > welcome. > I have data files

Re: INNODB database size

2006-04-25 Thread Pure Web Solution
://dev.mysql.com/doc/refman/5.0/en/innodb-configuration.html Regards Pure Web Solution http://www.purewebsolution.co.uk PHP, MYSQL, Web Design & Web Services Todd Smith" <[EMAIL PROTECTED]> wrote: > Hello > > I have inherited an INNODB database. I am new to MySQL and ma

INNODB database size

2006-04-25 Thread Todd Smith
Hello I have inherited an INNODB database. I am new to MySQL and may not be describing my problem correctly so any suggestions or questions are welcome. I have data files named ib_data_00 through ib_data_14 all of which are 2.0G. I also have ib_data_15 which is 26G. I am receiving errors saying

Re: Create an Innodb database ?

2005-07-15 Thread mos
At 03:09 PM 7/15/2005, you wrote: Darryl Hoar wrote: I am running MySql 3.23.53. I am developing a multi-user application in delphi using the Zeoslib controls. Since it is going to be a multi-user application, should I use Innodb ? If so, are there any good tutorial/references for the Innodb ?

Re: Create an Innodb database ?

2005-07-15 Thread J. David Boyd
Danny Stolle <[EMAIL PROTECTED]> writes: > So now also my question: When to use innodb instead of myisam? What > performace advantages does this engine have? Well, if you want to have transactions, you must use innodb... -- MySQL General Mailing List For list archives: http://lists.mysql.com/

Re: Create an Innodb database ?

2005-07-15 Thread Danny Stolle
Darryl Hoar wrote: I am running MySql 3.23.53. I am developing a multi-user application in delphi using the Zeoslib controls. Since it is going to be a multi-user application, should I use Innodb ? If so, are there any good tutorial/references for the Innodb ? thanks, Darryl Hi Darryl,

Create an Innodb database ?

2005-07-15 Thread Darryl Hoar
I am running MySql 3.23.53. I am developing a multi-user application in delphi using the Zeoslib controls. Since it is going to be a multi-user application, should I use Innodb ? If so, are there any good tutorial/references for the Innodb ? thanks, Darryl -- MySQL General Mailing List For

Re: Moving InnoDB database from Linux to Windows

2004-07-14 Thread Heikki Tuuri
b.com/order.php Order MySQL technical support from https://order.mysql.com/ - Original Message - From: "Mauricio Bruns" <[EMAIL PROTECTED]> Newsgroups: mailing.database.myodbc Sent: Tuesday, July 13, 2004 8:47 PM Subject: Moving InnoDB database from Linux to Wind

RE: Moving InnoDB database from Linux to Windows

2004-07-13 Thread Victor Pendleton
Try using mysqldump for the innodb files. -Original Message- From: Mauricio Bruns To: MySQL List Sent: 7/13/04 12:41 PM Subject: Moving InnoDB database from Linux to Windows How can I copy the data directory from linux to windows, with the same mysql version (4.0.16) in both OS and

Moving InnoDB database from Linux to Windows

2004-07-13 Thread Mauricio Bruns
How can I copy the data directory from linux to windows, with the same mysql version (4.0.16) in both OS and innodb tables? I try simple copy all files (iblogs, ibdata, mysql dir, database dir) but I get this error when open a table: ERROR 1016: Can't open file: 'advogado.InnoDB'. (errno: 1) --

Re: Cold Backup of Innodb Database

2004-04-22 Thread Jeremy Zawodny
On Tue, Mar 30, 2004 at 05:45:06PM -0500, Schwartz, Evelyn wrote: > Does anyone have a list of the files that need to be backed up for a > cold backup of an innodb database: > > Obviously all the MyISAM files and the innodb database files. But what > about the log and archive

Cold Backup of Innodb Database

2004-03-30 Thread Schwartz, Evelyn
Does anyone have a list of the files that need to be backed up for a cold backup of an innodb database: Obviously all the MyISAM files and the innodb database files. But what about the log and archive log files? Evelyn

Re: Creating Innodb Database

2004-01-28 Thread Scott Pippin
>In the MySQLdocumentation, it does not clearly explains how a Tablespace is > created. Under "Creating a Tablespace" heading ( 14.4.4), it says how a Innodb > database is created but not >tablespace. > Also how exactly you create an Innodb Data

Creating Innodb Database

2004-01-28 Thread Ansari, Raza \(GEI, GEFA, Contractor\)
In the MySQLdocumentation, it does not clearly explains how a Tablespace is created. Under "Creating a Tablespace" heading ( 14.4.4), it says how a Innodb database is created but not tablespace. Also how exactly you create an Innodb Database. Well it s

Re: Innodb database corrupted

2002-10-30 Thread Pedro Rocadas
Mysql Greetings. I'm doing some tests using innodb for the first time and last night, during a storm, our energy system fall, the ups couldn't help. This happened when we have a substancial number of connections to the database. When the energy came back, we realised that the database was corrupt

Re: new command in 3.23.52 - innodb database schema dump

2002-08-19 Thread Victoria Reznichenko
Massimo, Monday, August 19, 2002, 10:40:50 AM, you wrote: MP> As in your instruction on 4 jul 2002 23:51:13 I added the MP> SET NO_FOREIGN_KEY_CHECKS=1; ^^^ Should be: SET FOREIGN_KEY_CHECKS = 0 MP> after having installed 3.23.52 for WIN on my win2k syst

Re: new command in 3.23.52 - innodb database schema dump

2002-08-19 Thread Heikki Tuuri
- Original Message - From: "Heikki Tuuri" <[EMAIL PROTECTED]> To: "Massimo Petrini" <[EMAIL PROTECTED]> Sent: Monday, August 19, 2002 12:52 PM Subject: Re: new command in 3.23.52 - innodb database schema dump > Massimo, > > it was c

new command in 3.23.52 - innodb database schema dump

2002-08-19 Thread Massimo Petrini
> As in your instruction on 4 jul 2002 23:51:13 I added the > > SET NO_FOREIGN_KEY_CHECKS=1; > > after having installed 3.23.52 for WIN on my win2k system in the first line > of my shema dump (obtained with MYSQLDUMP -opt); > > But wheh I lanch the command > mysql database > I received the fol

new command in 3.23.52 - innodb database schema dump

2002-08-19 Thread Massimo Petrini
As in your instruction on 4 jul 2002 23:51:13 I added the SET NO_FOREIGN_KEY_CHECKS=1; after having installed 3.23.52 for WIN on my win2k system in the first line of my shema dump (obtained with MYSQLDUMP -opt); But wheh I lanch the command mysql database http://www.mysql.com/manual.php (th

Re: innodb database schema dump

2002-07-05 Thread Heikki Tuuri
10:06 PM Subject: innodb database schema dump > I had the same problem, and while I don't think there's a way around it, you > can load the schema with the force option so that it will eventually make it > to the table the must be created first, (even if a previous table creation >

innodb database schema dump

2002-07-04 Thread Christopher Book
I had the same problem, and while I don't think there's a way around it, you can load the schema with the force option so that it will eventually make it to the table the must be created first, (even if a previous table creation gives an error). Running the script many times over and over will ev

innodb database schema dump

2002-07-04 Thread Pierre Baridon
how can i dump innodb tables schema with foreign key references so that the tables are created in the right order ? thanks, Pierre -- sql,query - Before posting, please check: http://www.mysql.com/manual.php (the manua

Re: Error trying to create InnoDB database. HELP

2001-12-05 Thread Robert Alexander
At 10:08 -0700 2001/12/05, Weaver, Walt wrote: >When I start up mysqld, the datafiles and logfiles are created just fine. >But, when everything is done the following error appears: > >/usr/local/mysql/mysql-3.23.44-innodb/libexec/mysqld: Table 'mysql.host' >doesn't exist This may be an obvious on

RE: Error trying to create InnoDB database. HELP

2001-12-05 Thread Weaver, Walt
Yup, somehow I must've missed that. Thanks... --Walt -Original Message- From: Mike(mickalo)Blezien [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 10:22 AM To: Weaver, Walt Cc: [EMAIL PROTECTED] Subject: Re: Error trying to create InnoDB database. HELP Did you ru

Re: Error trying to create InnoDB database. HELP

2001-12-05 Thread Mike(mickalo)Blezien
te: >>Okay, I've finally gotten around to trying to create an InnoDB database. >>I've configured MySQL on Linux Red Hat 6.2, mysql 3.23.44 with the >>--with-innodb parm. Everything installed wonderfully. >> >>When I start up mysqld, the datafiles and logfiles

RE: Error trying to create InnoDB database. HELP

2001-12-05 Thread Weaver, Walt
Dammit, never mind. I figured it out. Maybe someday I'll be able to ask an intelligent question here... --Walt -Original Message- From: Weaver, Walt Sent: Wednesday, December 05, 2001 10:09 AM To: [EMAIL PROTECTED] Subject: Error trying to create InnoDB database. HELP Okay,

Error trying to create InnoDB database. HELP

2001-12-05 Thread Weaver, Walt
Okay, I've finally gotten around to trying to create an InnoDB database. I've configured MySQL on Linux Red Hat 6.2, mysql 3.23.44 with the --with-innodb parm. Everything installed wonderfully. When I start up mysqld, the datafiles and logfiles are created just fine. But, when everythi

InnoDB Database

2001-11-28 Thread Meital Geron-Issers
Hello, I've just install mysql 4.23.44. (Till today I used 4.23.38 with the defualt tables). I created an InnoDB Database and add to it 4 tables. I read in the manual that I should get only .frm file for each table and that is what I got. But, now, when I am trying to connect to the Dat