![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
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 No members have liked this post.
|
|
#2
|
||||||||
|
||||||||
|
Well basically to drop a table you do this:
So type this as the query:
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 No members have liked this post.
|
||||||||
|
#3
|
||||
|
||||
|
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 No members have liked this post.
|
|
#4
|
||||
|
||||
|
Duh... it's DROP TABLE tblName;
![]()
__________________
Chen Avinadav Formerly vBulletin.org Owner and Founder chen@avinadav.com No members have liked this post.
|
|
#5
|
||||
|
||||
|
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 No members have liked this post.
|
|
#6
|
||||
|
||||
|
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.
No members have liked this post.
Last edited by Chen : 11 Mar 2002 at 12:07. |
||||
|
#7
|
||||
|
||||
|
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 No members have liked this post.
|
|
#8
|
||||
|
||||
|
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.
No members have liked this post.
|
||||
|
#9
|
||||||||
|
||||||||
this should read
where should i change this? maybe i am getting somewhere. ugh amity No members have liked this post.
|
||||||||
|
#10
|
||||
|
||||
|
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 No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
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 | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 03:14.




