Web publishing about DelphiFAQ (14) JavaScript (31) perl CGI (3) VBScript (1) Web Hosting (8)
Exchange Links About this site Links to us 
|
General :: Web publishing :: Web Hosting
Come here for reviews of web hosting companies.
Articles:
This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Featured Article
What is a mysql database and do I need multiple mysql databases?Question: I am in the process of picking a web hosting company. I try to understand their feature lists. Several of them offer 1 mysql database but some offer multiple (5 or even 10) mysql databases. What is a mysql database and do I need more than one of them?
Answer: Short answer: Yes you are very likely to need mysql some time but probably one mysql database will be enough.
Detailed answer:
mysql has become a very popular database system among web hosting companies and developers. A major reason may be that mysql is free, but it is also very very fast especially in web environments (for the advanced readers: mostly read access, no triggers or transactions used).
Now what is such a database and what can you use it for on your web site? Basically, a database is used to quickly store and later retrieve structured data. Data is stored in tables. On web sites it is used to store users with their names, passwords, preferences etc. If you are tracking links to and from your site you may want to store them in a links table. You could store all this information in text files and in the early days of the internet, this was the case. Scripts for guest books and the like would not rely on a mysql database but directly update an HTML file instead. This sort of works for a guest book with a few dozen entries but is not suitable for a message board or customer management system with potentially thousands of entries.
Typically the database is accessed by a script installed on your web server. These scripts may be written in perl or php. You can write such scripts yourself or install ready-to-go solutions which you only configure to suit your needs. Often your web hosting company will provide such scripts preinstalled.
But even if you have only one mysql database, you can install several such packages. E.g. your customer management system could be using tables in mysql with table names “customers”, “purchases”, “correspondence”.
Your advertising campaign might be using tables “adv_links”, “adv_checks” etc.
Further on you could use the mysql database to keep track of visitors that were referred from external web sites like search engines or discussion boards. You could store all your referral urls in a table “referring URLs”.
On this web site where you are reading right now (delphifaq.com) the author himself has installed 5 homegrown script solutions which store all kinds of data. For a while a standard message board system was also installed. Do you see the links on the left side to amazon.com? Yes, they are stored in a mysql table. The links in the ‘See-also’ section are stored in mysql as well.
Altogether this site accesses one single database with over 60 tables. There is no need for multiple mysql databases.
However, there is a very small chance that you want to install two packages that each want to create a table with the same name. In this moment you will have a name overlap conflict. I have never heard of such a situation but it would be possible theoretically.
Also if you want to host multiple domains and each shall have their own discussion board etc, then you will need a separate mysql database for each domain.
|
| Most recent comments
2009-11-20 20:00:44:
by PT
in Male Dating Scammers
on Dating scammer Smith Williams:
Miss Marples, my goodness you must be very ill from that picture! Please get the rest you need so that you may come back here & fight the war against our enemies! :) I am doing great, and actually t ... read more
|
2009-11-20 19:49:47:
by anonymous
in Dating Scams
on Dating scammer Anastasiya from Medvedevo:
Hello Arturo.
I am very pleased so soon to receive your letter.
It is very pleasant, that you have not left my letter without the answer.
I have the first experience of the correspondence ... read more
|
2009-11-20 19:12:21:
by anonymous
in Dating Scams
on Dating scammer Natalya from Osinniki, Russia:
some more pics Elena hromihina
|
|
2009-11-20 18:49:14:
by [hidden]
in Dating Scams
on Dating scammer Natalija Dostojewski:
Hi everybody. I saw this advertisement by Kijiji, I was curious and drop a short e-mail.
Please, I would like to know more about how this 'scamming' mafia operates, what they can do to you!! Can ... read more
|
2009-11-20 17:14:32:
by bernie
in Dating Scams
on Dating scammer Nancy Milman from Accra, Ghana:
I KNOW OF A CYNTHIA OSHO I THINK FROM CANADA. SHE ASK ME FOR AIRFARE TO COME TO MONTREAL. I DIDNT FALL FOR THAT. I HAVE SEEN HER FACE BEFORE. I TRY TO STOP THEM ALL WITH WESTERN UNION
|
2009-11-20 17:14:00:
by anonymous
in Dating Scams
on Dating scammer Nadezhda Titova:
2 more names for ananstasiya illarionova are Tatyana Shepeleva or Nadezhda Basova
|
2009-11-20 17:13:17:
by Dirk
in Dating Scams
on Dating scammer Ekaterina Rozhentsova:
Gratuliere!
|
2009-11-20 16:54:54:
by [hidden]
in Other Scams
on Another dating / chat scam - USA/ Nigeria connection:
there is another from Nigeria she is a hot blond from Niles Il ,she came across as dame o1 on Mertodate.com his or her email is annarol10@yahoo.com. This one is a geologist,she got robbed by thieves a ... read more
|
2009-11-20 16:50:06:
by wanwan
in Dating Scams
on Dating scammer Irina Prigunova:
 http://www.delphi. p=8#59237
@2007-17-11-03, 13:04:09 (updated: 2007-11-03, 13:22:53)
OJAS from United States
I tried it but ?
O ... read more
|
2009-11-20 16:24:54:
by anonymous
in Male Dating Scammers
on Dating scammer David Williams:
hi i JUST WANTED TO SAY THAT i HAD SOMEONE e-MAIL ME ABOUT MY PSP BUNDLE FOR SALE. AND SAID SHE SENT ME THE MONEY BUT IT NEVER SHOWED UP IN MY PAYPAL ACOUNT SO I ASKED HER ABOUT THAT AND THIS IS WHAT ... read more
|
|