[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] permission error on installing mysql DBD driver for perl



This looks like a MySQL access rights issue.

ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)

Can you connect by using:

mysql name-of-database -u<username> -p<password>

e.g.

mysql testdb -utestuser -ptestpassword

Alex Lee
Cobalt Networks
alee@xxxxxxxxxx
Phone: +31 (71) 565 7027
Fax: +31 (71) 565 7010

> -----Original Message-----
> From: cobalt-developers-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Albert
> Victor
> Sent: 11 October, 2000 4:37 AM
> To: cobalt-developers@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-developers] permission error on installing mysql
> DBD driver for perl
>
>
> thanks guys!!
> I appreciate your help!
> I tried mysql -t test and I get
> ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
> the database does seem to exist I just can access it. I tried it with and
> without a password in the DBD setup...  I am trying to set up the
> dbd drivers to
> I can access a database using perl.
>
> I set up the dbd module via telnet as the root user.  If I
> install the drivers
> using Makefile.PL  as the root user, would those files be
> installed as the root
> also?
>
> Another hitch, and maybe this is the problem.  I am the only user
> on this box,
> but when I got it there was already a site set up, I deleted the
> html files and
> set my site up as a virtual site. The original site obviously
> goes to a dead IP
> address since I now have this server, but the bad ip and old site
> name still
> show up in the admin section of the online control panel, the
> only site that
> will live on this server is set up as site1 and I am able to
> change my access to
> a root user.
>
> I went back and tried to install the DBD rpm instead and got an
> error that said
> Cant install MySQL, failed dependency ld.so.1
>
> Thanks again for your time and trouble!
> Albert
>
> "Felix C.Courtemanche" wrote:
>
> > I see that you used the database 'test'
> > does it exists? does it requires authentication? is your MySQL
> server up?
> > try using it by typing
> >
> > mysql -t test
> >
> > if you can log in with no problems, then keep looking... if
> not, you found
> > it.  You must still install the dbd as root, but can try what I
> told you as
> > any users.
> > .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
> .  .  .  .  .
> > .  .  .  .
> > Félix C.Courtemanche . webmaster@xxxxxxxxxxxx
> > Head Designer . http://www.can-design.com
> > Co-Administrator . http://www.can-host.com
> >
> > -----Message d'origine-----
> > De : Albert Victor <Albert@xxxxxxxxxxxxxxxxxxx>
> > À : cobalt-developers@xxxxxxxxxxxxxxx
> <cobalt-developers@xxxxxxxxxxxxxxx>
> > Date : 10 octobre, 2000 21:43
> > Objet : Re: [cobalt-developers] permission error on installing mysql DBD
> > driver for perl
> >
> > >Thanks Jerald,
> > >I did that.  According to the telnet prompt I am logged in as
> root.  Still
> > getting that same error.
> > >Thanks for your help.  Any other possibilities?
> > >
> > >thanks again,
> > >Albert
> > >
> > >
> > >Jerald C Jones wrote:
> > >
> > >> > Hi all,
> > >> > I'm at a loss...
> > >> > I've installed the DBI drivers with no problems.
> > >> > Now I'm trying to install  Msql-Mysql-modules-1.2215
> > >> > When I run make test, I get the following  permission error:
> > >> >
> > >> > t/10dsnlist.........DBI->connect failed: Access denied for user:
> > >> > 'admin@localhost' (Using password: YES) at t/10dsnlist.t line 45
> > >> > Cannot connect: Access denied for user: 'admin@localhost' (Using
> > password: YES)
> > >> >         Either your server is not up and running or you have no
> > >> >         permissions for accessing the DSN DBI:mysql:database=test.
> > >> >         This test requires a running server and write permissions.
> > >> >         Please make sure your server is running and you have
> > >> >         permissions, then retry.
> > >> >
> > >> >
> > >>
> > >> It would appear from the above error message that you are
> not logged in
> > as root, but rather you are logged in as admin.  Type su at
> > >> the prompt, and enter your password (should be the same password as
> > admin).
> > >>
> > >> JC Jones  :)
> > >>
> > >> _______________________________________________
> > >> cobalt-developers mailing list
> > >> cobalt-developers@xxxxxxxxxxxxxxx
> > >> http://list.cobalt.com/mailman/listinfo/cobalt-developers
> > >
> > >--
> > >Albert Victor
> > >The Starlite Cafe
> > >http://www.thestarlitecafe.com
> > >Bringing Poets Together Worldwide
> > >
> > >
> > >_______________________________________________
> > >cobalt-developers mailing list
> > >cobalt-developers@xxxxxxxxxxxxxxx
> > >http://list.cobalt.com/mailman/listinfo/cobalt-developers
> > >
> >
> > _______________________________________________
> > cobalt-developers mailing list
> > cobalt-developers@xxxxxxxxxxxxxxx
> > http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
> --
>
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>