[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] DBI.PM
- Subject: Re: [cobalt-users] DBI.PM
- From: "Geoff McQueen" <geoff@xxxxxxxxxxxxxxxxxx>
- Date: Mon Jan 22 18:57:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Fabian,
You are going to have to use telnet.
I would recommend logging in, su (that is, type 'su' at the prompt) to root
(use same password as 'admin'), as this will make you all powerful root user
(I hope - I am pretty new at the Cobalt platform, and I don't know what you
are using as your variant).
Change to the /tmp directory (type 'cd /tmp')
Connect to ftp.mysql.com (command at shell: 'ftp ftp.mysql.com', and log in
as username: 'anonymous', password: your email address)
Change to the Contrib directory (type 'cd Contrib')
Type 'binary'
Type 'recv DBI-1.14.tar.gz'
Exit FTP (but, if you need to get the DBD (database driver) for your
application, and it is MySQL or mSQL, download it here too), and you will be
back at the shell.
You now need to 'untar' the program, or get it ready to install.
Type 'tar -zxvf DBI-1.14.tar.gz'
This will unpack the files under the directory you are in, if as suggested,
/tmp/DBI-1.14.
Notice the directory is the same name, bar the .tar.gz extension.
Change to the directory.
Read the readme, and do what it tells you. It should say to execute the
following commands:
perl Makefile.PL
make
make test
make install
You should now have the Perl DBI installed, version 1.14. I don't know if
this is the best version, but I just needed it to get mysql going, so it
seems to be sufficient. Now you have an idea of the process, you should
consult your documentation for the database engine you are using to get more
info on what you should be looking for.
Hope this has answered your problem in the 'step by step' method you
requested, but like I have suggested, don't go ahead with this 'step by
step' method until you have read the documentation with your DB.
Geoff
--
Internetrix
www.internetrix.com.au