Broken database?

Author Message

Bjarne MAthiesen

Tuesday 22 January 2008 3:33:12 pm

My harddrive has been corrupted ;-(

And offcourse it is in the database files of my site, so now it says "no access"
As far as I can see, it has lost some tables in the database regarding users.

Where can I find the sql that creates the database for mysql?

Isn't it possible to repair the database?

Please help me. A lot of work is lost if I dont get this back up.

Lukasz Klejnberg

Friday 25 January 2008 4:47:26 am

hi

if you can copy binary files from directory where is database mysql, like this:
/var/lib/mysql/your_database

and

/var/lib/mysql/ibdata1 and ib_logfile0-...

to your new mysql directory.

It is the best if you do this operation on local machine, then if you run your database you must export to sql and import to your new database.

maybe you must try to find solutions to recovery ibdata1?

regards
lukasz

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:15:13
Script start
Timing: Jan 31 2025 01:15:13
Module start 'layout'
Timing: Jan 31 2025 01:15:13
Module start 'content'
Timing: Jan 31 2025 01:15:13
Module end 'content'
Timing: Jan 31 2025 01:15:13
Script end

Main resources:

Total runtime0.0222 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0042 589.2578151.2109
Module start 'layout' 0.00420.0035 740.4688220.6875
Module start 'content' 0.00770.0128 961.1563997.8047
Module end 'content' 0.02050.0016 1,958.960929.9922
Script end 0.0221  1,988.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.8181140.0002
Check MTime0.00114.8909140.0001
Mysql Total
Database connection0.00052.217210.0005
Mysqli_queries0.00187.967030.0006
Looping result0.00000.040910.0000
Template Total0.00115.110.0011
Template load0.00093.968410.0009
Template processing0.00021.061310.0002
Override
Cache load0.00062.829710.0006
General
dbfile0.00167.182480.0002
String conversion0.00000.031240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs