Jump to content
php.lv forumi

Iespeeja atcelt peedeejo komandu ieksh MySQL


steammer

Recommended Posts

Sveicinaati! Dziive kaa jau vienmeer, komandu DROP DATABASE iznaak izpildiit tieshi tad, kad tas nav vajadziigs...

Liidz ar to jautaajums - kaada var buut izeja, lai datubaazi atkal atjaunotu...

 

Ikdienaa ar MySQL nestraadaaju, datubaaze arii nebija paaraak nopietna, taapeec logjiski ka nebija ne backupi uzstaadiiti, ne kas. Bet saturs tomeer ir svariigs un gribeetos atguut.

 

Ir ceriibas?

Link to comment
Share on other sites

Skarbi...

Nu, varbūt te kaut kas vērtīgs:

http://forums.mysql.com/read.php?28,99328,99328

vēl arī dokumentācijā ir interesants komentārs:

Do note that when a db is dropped, the corresponding db structure is deleted. However, the data itself, which resides in a common file 'ibdata', is not deleted. In some cases, this might constitute a security hazard.

This is not a bug but i think that it would be a good idea that 'drop database' actually removes the data from ibdata.

Link to comment
Share on other sites

Skatiijos jau visus internetaa atrodamos resursus par atjaunoshanu. Probleema taa, ka shajaa gadiijumaa datubaaze ir vesela, liidz ar to atjaunojot pat no ibdata (ko arii dariiju), atjaunojas peedeejaa mirklja situaacija, kas ir peec komandas DROP... Liidz ar to kaa vareetu panaakt, lai no ibdata vareetu izlobiit kaadu agraaku informaaciju?

Link to comment
Share on other sites

×
×
  • Create New...