#1
  1. No Profile Picture
    Jeremy
    Guest
    Devshed Newbie (0 - 499 posts)
    I am working on a web-page and I am using someone elses server. They are running unix and an Apache v1.3 server. I am writing CGI code in Delphi and I have not been able to find out how to make a connection with the database. If you have any information, please post a message to let me know so that I can continue. Thank you for your help.
  2. #2
  3. No Profile Picture
    Marcelo
    Guest
    Devshed Newbie (0 - 499 posts)
    Hello,
    I'm not sure I understand your situation.

    1.If you're writing a CGI with Delphi, you cannot use it on a UNIX machine but only on Windows.

    2.If the MySQL database is on the Unix server, you'll have to get permission from the server administrator to use that database.

    Now, if you want to connect to a MySQL server from a Windows application that you made with Delphi, you can do it using the BDE (Borland Database Engine) and the MyODBC driver, which you can download from http://www.tcx.se/download.html

    If you're making a web page that will live on the Unix machine, you might want to look at PHP3 or Perl to write your CGI in.

    Hope this helps :-)

Similar Threads

  1. Lost connection to MySQL server during query
    By bcraft in forum MySQL Help
    Replies: 1
    Last Post: December 9th, 2003, 07:58 AM
  2. MySQL Remote connection using PHP
    By Smo in forum PHP Development
    Replies: 5
    Last Post: November 27th, 2003, 01:02 AM
  3. Replies: 0
    Last Post: November 26th, 2003, 04:49 PM
  4. Replies: 1
    Last Post: May 30th, 2003, 04:33 PM
  5. Connection Failure PHP - MySQL
    By regoss in forum PHP Development
    Replies: 1
    Last Post: September 7th, 1999, 12:53 AM

IMN logo majestic logo threadwatch logo seochat tools logo