# Oh god I killed a database

**URL:** <https://forum.kirupa.com/t/oh-god-i-killed-a-database/83457>\
**Category:** programming\
**Created:** [March 19, 2005, 1:52am UTC](https://forum.kirupa.com/t/oh-god-i-killed-a-database/83457 "2005-03-19T01:52:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MTsoul](https://avatars.discourse-cdn.com/v4/letter/m/91b2a8/32.png) [@MTsoul](https://forum.kirupa.com/u/MTsoul)\
**Post date:** [March 19, 2005, 1:52am UTC](https://forum.kirupa.com/t/oh-god-i-killed-a-database/83457/1 "2005-03-19T01:52:18Z")

</div>

I accidentally left this script on for a few minutes, and now I can’t access my database at all.

```php

for ($counter=0; $counter<10240; $counter++) {
    mysql_query("INSERT INTO new_table (id, ***,*** ) VALUES ($counter, ###, ###)");
}

```

I can get to the Cpanel PHPMYADMIN or connect to my mysql. All selections of that database are denied or soemthing. THe other databases are still working. I have some data that I wanna keep in that database, but now (i think) is flooded with 10240 rows of crap in some table.

Any way I can get that data while my host hasn’t found out yet? :hurt:
