Get your website going today and SAVE!
Web Hosting Accounts Start at $4.95/mo plus get FREE Domain Registration.
Get FREE Domain Registration now with your web hosting account and Check out The Marketing Package!
More specials and deals found here.
Have a business? Its time to get your business out there! Check out The Marketing Package. Its everything you need to start building traffic and customers today.
MySQL is an extremely stable, highly popular open source database that ranks high on speed rating. It is the default choice for most web hosts to provide to their customers because of its ease of deployment and use.
However, a good database can only be as good as it's administrator is. Of course not all of us are seasoned database administrators so this article is meant for novice and not so novice users. It provides some simple tricks and tips to enhance the performance of your database.
CREATE TABLE parent(id INT NOT NULL,
PRIMARY KEY (id)
) TYPE=INNODB;
CREATE TABLE child(id INT, parent_id INT,
INDEX par_ind (parent_id),
FOREIGN KEY (parent_id) REFERENCES parent(id)
ON DELETE CASCADE
) TYPE=INNODB;