Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 07-11-2016, 06:26 PM   #1
sansastark
Registered User
 
Join Date: Jul 2016
Posts: 32
0 Drop Magento Database in One Query

The code below does as the title suggests. If anyone has been trying to remove the Magento database for whatever reason you’ll find that with all of the key constraints that come with Magento droping every table at once requires a special bit of code.

Below is from a 1.7.0.2 store, different version of Magento may have slightly different tables and custom modules for Magento will also sometimes add their own tables. But in general the code below should work for most and with one execution drop every table in the db.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and learn at
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
vs
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sansastark is offline   Reply With Quote

Reply


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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Magento PHP tutorial for you? sansastark Programming General 0 07-11-2016 06:19 PM
Medma Magento Marketplace VictorHill General Discussion 0 05-06-2016 06:35 AM
Windows Hosting on IIS 8 Server with Free SQL 2012 Database thewebhosting Web Promotion 1 04-04-2013 08:53 AM
Plastic Surgeons Database of United States (Phone, Address, Zip) immediate Post your ad here 0 05-09-2012 12:11 AM
ISO Country Codes and Area Codes Database with Population, Area and GDP immediate Post your ad here 0 02-03-2012 03:48 AM


All times are GMT -7. The time now is 11:59 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.