[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mysql and DBI
The script uses DBI->connect to log into the database. The below error is
what I get when I run the script. This error is commonly what happens
when there is an authorization problem. However, I have double-checked my
username and password entries, and, I have also made sure the username and
password work correctly by using:
mysql -u root databasename -p
And then providing the password. This also works, and allows me to make
insert and select statements into the databases on the server. I'm still
at a loss.
Koree
______________________________________________
Koree A. Smith | Co-Administrator, ameth.org
koree@Ameth.org | http://www.koree.net/
koree@koree.net | Linux Rules!
NT < *IX | I Corinthians 2:1-5
Nous pensons que Linux représente à terme une menace pour Windows.
On Sat, 3 Jun 2000, Sean /The RIMBoy/ wrote:
>
> On Sat, 3 Jun 2000, KoReE wrote:
> > noc /usr/src/webtts-3.0/install-scripts # ./tts-install.pl
> > DBI->connect failed: Can't connect to local MySQL server (2) at
> > ./tts-install.pl line 54
> > Can't call method "prepare" without a package or object reference at
> > ./tts-install.pl line 61.
> >
> > This basically is an authentication error from what I've read. But, I can
> > use the mysql client utility to connect and browse the database.
>
> Hmm, is the client forcing you to log in? If it is an authentication
> failure, is it possible you are failing to send the user and pass for the
> database? I know the stuff I do in php requires me to log into the
> database before the script can run. This is done automatically... the
> script connects to the database, sends that info, and then goes from
> there.
>
> Sean...
>
> Everything you know is wrong,
> Just forget the words and sing along. --Weird Al
> ===========================================================================
> www.rimboy.com Been there, done that, have the mousepad.
> ===========================================================================
> Through the server, over the router, off the firewall... Nothing but 'Net!
>
>
> --
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
>
--
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.