Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 Mar 2002, 16:01
amity's Avatar
amity amity is offline
 
Join Date: Feb 2002
Question i just installed the sql query from control panel hack- i need to delete all imported

hi! i was helped by chen last evening, and now i have another question. my import of wwwthreads did not work- there was an error in the polls and now i must import all over again. i have taken the polls section out of the import script- and downloaded the sql query hack for my vb admin panel (since i cannot access this data base through mysql admin).

how would i go about deleting all information within a database? i don't want to delete the database itself. could someone tell me the query to run?

i apologize, i am not a programmer- i learn what i need as i go.

http://www.amitymama.com/vb/index.php?

these are my forums- i am almost done and would like to finish today.

thank you sooooo much in advance!!
always,
amity
Reply With Quote
  #2  
Old 09 Mar 2002, 19:21
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Well basically to drop a table you do this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So type this as the query:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This'll give you a list of all tables in the database. Then just type the DROP query for each one.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #3  
Old 10 Mar 2002, 01:46
amity's Avatar
amity amity is offline
 
Join Date: Feb 2002
thank you again chen. :o) i can show tables, but it is not allowing me to drop...

when i put in the command
DROP access; (for example) i am getting this error message:
Database error in vBulletin Control Panel 2.2.3:

Invalid SQL: DROP access;
mysql error: You have an error in your SQL syntax near 'access' at line 1

mysql error number: 1064

Date: Saturday 09th of March 2002 09:42:06 PM
Script: http://amitymama.com/vb/vb/admin/query.php
Referer:
http://www.amitymama.com/vb/admin/query.php?t=0


i am sorry to bother you. i think i did the query the right way.

have a great evening... always
amity
Reply With Quote
  #4  
Old 10 Mar 2002, 11:11
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Duh... it's DROP TABLE tblName;
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #5  
Old 10 Mar 2002, 18:28
amity's Avatar
amity amity is offline
 
Join Date: Feb 2002
thank you again. :o) i actually decided to upload the install script and run it...

while i was deleting the tables, i received an error. so i decided to just upload the install and start over again.

i am about to do the import again- i took out the polls part of the script. i hope this works!!

thank you again chen. your username should be lifesaver... not firefly.

always,
amity
Reply With Quote
  #6  
Old 11 Mar 2002, 03:11
amity's Avatar
amity amity is offline
 
Join Date: Feb 2002
Unhappy ok it didn't work... can someone tell me how i can import everything except the polls

okey dokey. it didn't work. i was getting a parse error. i will attach the full import script, and the part that i left out when i tried to run the script. i can't run the poll section of the import or i receive an error- so i need to import without it.

someone please help? pretty please?
always,
amity

this is the part i tried to delete and run...
attached is the whole script.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by Chen : 11 Mar 2002 at 12:07.
Reply With Quote
  #7  
Old 11 Mar 2002, 04:10
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
what is the parse error?
a little tip for you when you post the code: use [code] or [php] bbCodes to display your code in a elegant way.

regards,
nakkid.
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #8  
Old 11 Mar 2002, 04:27
amity's Avatar
amity amity is offline
 
Join Date: Feb 2002
ok, parse error is gone now i can begin the import but i receive this error-

oh, i dunno. this is getting frustrating... really any ideas would be greatly appreciated.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #9  
Old 11 Mar 2002, 04:34
amity's Avatar
amity amity is offline
 
Join Date: Feb 2002
Lightbulb i just found something in that error... can you tell me what you think it means?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

this should read

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

where should i change this?

maybe i am getting somewhere.
ugh
amity
Reply With Quote
  #10  
Old 11 Mar 2002, 12:07
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Your problem is not with the script (which I removed from your first post, we don't allow to post full files of vBulletin).
It's with the database permissions, for some reason the user you are using can't access the 'amitysworld_com' database. Ask your host for more help.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Members Online in Admin Control Panel and Mod Control Panel Michael Biddle vBulletin 3.6 Add-ons 25 25 Feb 2012 21:12
SQL Query from Control Panel JamesUS vBulletin 2.x Full Releases 33 06 Sep 2003 00:10

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 03:14.

Layout Options | Width: Wide Color: