* Harry Rorarius
> I thought Mysql was a server that could be used as a online database?

Yes, it is...

> If it is, is there some material I have not read that tells me how to do
> this?

Probably :o)

> I understood most of the information I read about Mysql.  I was under the
> understanding sql is the way to make a online database

When you say 'online database' I assume you mean a database accessed through
the www, the http protocol part of internet...?

There is no http or www functionality in mysql. You must use a programming
language or some other tool to link the database with the browser, using the
mysql API and usually some CGI library. There are a number of languages to
choose between: c, c++, perl, php, python, java, tcl, eiffel, and any
language with ODBC support:

<URL: http://www.mysql.com/doc/C/l/Clients.html >

There are some examples here, using perl:

<URL: http://www.mysql.com/doc/P/e/Perl_DBI_Class.html >

Note that these examples does not show how you make CGI applications, that
is a different question. A CGI application is a program running on the web
server, using http and a web browser for user interaction. The application
can be an 'online database'. The output of the program is usually html
(could be xml), the program code is mainly different variations over the
sequence: 1) getting the input parameters, 2) prepare some sql statements,
3) execute the statements, 4) collecting the result, and 5) create the final
html and present it to the user. Normally you use a CGI library to maintain
the http protocol handling, but for output all you really need is to output
"Content-type: text/html" and a blank line before the html.

--
Roger


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to