Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Setup.cgi Problem

Quote Reply
Setup.cgi Problem
Hello everyone,

I have just switched to a dedicated server ad I had my system rep install MySQL, DBI, and the appropriate DBD Module.

When I run setup.cgi I get the following error:
Code:
Database connection information.
Enter the name of your database driver [mysql]: MySQL
There is no 'SQL.MySQL' file availble. Perhaps this database isn't supported?
DBD::MySQL not found! Perhaps you mistyped the driver name, or it may not be installed. Error message was:
Can't locate DBD/MySQL.pm in @INC (@INC contains: .. /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at setup.cgi line 368, <> chunk 1.


Aborting .. please install the appropriate DBD driver and rerun setup.cgi.

What is it because I don't have the right DBD module installed?

Any help is greatly appreciated. I saw a post like this but their ISP fixed it for them so now fix was posted here.

Thanks in advance.

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com


Quote Reply
Re: Setup.cgi Problem In reply to
try writing 'mysql' - all lower case.

Smile

------------------
Michael Bray
Review your webhost or find a new one.
www.webhostarea.com
Links SQL User
------------------




Quote Reply
Re: Setup.cgi Problem In reply to
__PLEASE__ if you find a fix, and it works, post it!! It helps everyone!

That said... it probably is "mysql" is the problem.... Even though it's called "MySQL" it's almost always 'called' as "mysql"



------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/








Quote Reply
Re: Setup.cgi Problem In reply to
Hello everyone,

I posted the wrong code. That was my second attempt using the uppercase lettering. I did try 'mysql' and it didn't work.

Any other ideas.

When I found out a fix for this I will post it.

PugDog - Your FAQ page is awesome!

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com


Quote Reply
Re: Setup.cgi Problem In reply to
The file is called:

There is no 'SQL.MySQL'

Try ... "SQL.mysql"



------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/








Quote Reply
Re: Setup.cgi Problem In reply to
Hello PugDog,

Speaking of which I have a beautiful Pug. Smile

I did do that. 'mysql'

Thats what I meant in my second post.

------------------
James L. Murray
VirtueTech, Inc.
www.virtuetech.com


Quote Reply
Re: Setup.cgi Problem In reply to
Beautiful pug... that's almost an oxymoron like Military Intelligence!!! Smile

Check your paths. It's not finding the files. You seem to have a configuration problem _or_ DBD has _not_ been installed [properly]


Check this thread for the same problem --

http://www.gossamer-threads.com/scripts/forum/resources/Forum9/HTML/000305.html




How are you running this -- web or telnet?

You may have a problem in the perl paths.
Because the @inc array is not initializing right either.

Are you trying to run this as "root" by any chance? Very often you don't have your normal shell loaded, so you don't have any path information loaded.... this is a cgi and runs best from the web (just checking!)










------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/