Closed Thread Icon

Topic awaiting preservation: Are databases need? [stupid question] (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12366" title="Pages that link to Topic awaiting preservation: Are databases need? [stupid question] (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Are databases need? [stupid question] <span class="small">(Page 1 of 1)</span>\

 
shocktreatement
Nervous Wreck (II) Inmate

From:
Insane since: Apr 2001

posted posted 08-15-2002 16:26

Ok, Stupid question time!

What exactly is a database? (involving PHP of course..)

Is there a difference between a regular database and a MYSQL database?
Are MYSQL databases needed for all scripts?

Lets say you have a domain with access to PHP (most recent updated version
What kind of a folder, or database would I need, to start uploading scripts and using them?

--Shocktreatement--

"Didn't open the box,and what was it last time? Didn't know what the box was. And yet we do keep finding each other don't we. Perhaps your teasing us,are you teasing us? No games,no more teasing,time to play!"-Female Cenobite

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 08-15-2002 17:12

1) There is no "regular" database. Each database will be a specific implementation of whatever language it is based on (MySQL being an implementation of SQL = Structured Query Language [as are Oracle, Informix, and many other major database implementations]).

2) You don't need any special folders or anything else to run PHP scripts from, as long as your server has PHP installed.

3) A database is completely seperate from a script, and MySQL is not a part of PHP. PHP is simply one method of interacting with a MySQL database. So no, you don't need a database to run PHP scripts.
http://www.php.net http://www.mysql.com

Both are invluable resources. Both can be a little daunting at first, but become more familiar relatively quickly.



Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 08-15-2002 20:04

well, a database is just a method of storing somehow structured data.

There are a few different approaches to this but the most commonly used one are
Relational Database Managment Systmes (RDBMS).
This kind of database is founded on the mathematical set theory.
Usually you interfere with it through SQL, although there are a handful of other languages around. (Biggest plus of SQL: You later can port your application easily to a RDBMS from another vendor)
MySQL ist the one most commonly used for web development, because it's a) cheap b) fast. But it is by far not complete, there are quite a number of things you can not do with MySQL (e.g. it's lacking transactions (if one step fails, roll back all steps. Very important when doing banking...))

so long,
Tyberius Prime

Edit: Now, if someone could talk a bit about object databases...

[This message has been edited by Tyberius Prime (edited 08-15-2002).]

« BackwardsOnwards »

Show Forum Drop Down Menu