The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
]Hi, I have a database (old one) that I want to drop from MySQl server with this php file :
PHP Code:
after that I need to import a backed up database to this place with this php file : PHP Code:
Can anybody can me with script that drop the whole database at once? Thanx |
#2
|
||||
|
||||
]very helpfull community...
I found a script... PHP Code:
|
#3
|
||||
|
||||
]still noone?
I need import script that works...... |
#4
|
||||
|
||||
Have you tried creating the database first, before importing into it?
|
#5
|
||||
|
||||
well... that's actually the problem...
as U have seen from delete script, I have just dropped database... Now I can't import any data as database doesn't exist... And I really don't know how to create one. I know it's easy for all of u to say go to google or MySQL hp and look there. But I think for some of u are much more easier to give 3-4 lines script. Please help. Thanx |
#6
|
||||
|
||||
Code:
mysql_query("CREATE DATABASE databasename"); |
#7
|
||||
|
||||
]so something like:
PHP Code:
PHP Code:
|
#8
|
||||
|
||||
Remove
Code:
$result = mysql_query($query); phpinfo(); |
#9
|
||||
|
||||
]who's your daddy?! FireFly is! LOL
Thanx a lot! Everything works! GJ! |
#10
|
||||
|
||||
I have a son?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|