Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Eeek!
So i completely boned installing v1. It seems that i'd got a part of the way through installing a 0.xx version and then not bothered completing it. So this means it wasn't properly installed and the installer / upgrader in v1 treats it as an upgrade... but this doesn't work, throws a bunch of errors. I don't have admin or control panel access to this database, i also cannot delete the database because its got other stuff that needs to stay... nor can i create a new one. Anyone know a way i can remove all traces of vanilla from this db and start again?
Sorry for my retardedness, i'm a designer :p
Knowwhatimsayin?
0
This discussion has been closed.
Comments
<?php $DBHost = 'localhost'; $DBUser = 'your_database_user'; $DBPass = 'your_database_password'; $DBName = 'your_database_name'; $Connection = mysql_connect($DBHost, $DBUser, $DBPass); if (!$Connection) { echo 'Failed to connect to the database.'; die(); } else { if (!mysql_select_db($DBName, $Connection)) { echo 'Failed to connect to the '.$DBName.' database.'; die(); } else { // If the database connection worked, get the tables in the db $TableData = mysql_query('show tables', $Connection); if (!$TableData) { echo 'Failed to retrieve tables from database.'; die(); } else { while ($Row = mysql_fetch_array($TableData)) { $TableName = $Row[0]; if (strpos($TableName, 'LUM_') === false) { // Do nothing, LUM_ was not found } else { if (!mysql_query('drop table '.$TableName, $Connection)) { echo 'Failed to drop table '.$TableName; die(); } } } } } } ?>
That's it. I haven't tested it or anything, use at your own risk. I recommend backing up your db before you use this.