Bluehost.com Web Hosting $6.95

Newbie help needed

This is a discussion on Newbie help needed within the MySQL Database forums, part of the Database Forums category; Duncan <Duncan@poohead.com> wrote: > I get a message saying that ERROR 1045 (2800): Access denied for ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2007
Rik
 
Posts: n/a
Default Re: Newbie help needed

Duncan <Duncan@poohead.com> wrote:
> I get a message saying that ERROR 1045 (2800): Access denied for user
> 'ODBC'@'localhost' (using password: YES)


Default after install is 'root' without password for most windows flavours
afaik.
--
Rik Wasmus
Reply With Quote
  #2 (permalink)  
Old 02-23-2007
strawberry
 
Posts: n/a
Default Re: Newbie help needed

On Feb 23, 11:19 pm, "Duncan" <Dun...@poohead.com> wrote:
> Hi All,
>
> I'm learning SQL and the book that I'm reading suggested mySQL as a good DB
> to use, it also uses it in the examples.
>
> This is good because I want to learn a bit more about Databases.
>
> So I tried to install the Apple Mac version and although it seemed to
> install ok I can't start it or even find it. (I'm not a wizz at the BASH
> terminal window).
> So I though I'd use the Windows version (using Windows XP on the Mac) this
> also seemed to install ok but when I try to start it from the command line
> using: > mysql [username] [password]
> I get a screen full of stuff starting:-
> mysql Ver 14.12 Distrib5.0.27, for Win32 (ia32)
> Copyright (C) 2002 MySQL AB
> it them lists a load of what I assume are options and then goes back to the
> prompt it was before:
>
> If I type: >mysql [username] -p
> it asks me for the password and then brings up the message:
>
> I get a message saying that ERROR 1045 (2800): Access denied for user
> 'ODBC'@'localhost' (using password: YES)
>
> I am certain I'm using the correct password.
>
> I also tried using Toad for MySQL as a front end but this gave the same
> password error message
>
> If someone could help with getting either the Windows or the Mac (or both)
> working I'd be most grateful
>
> Duncan


FWIW, this is what i type to access mysql

mysql -u myusername -p
mypassword

I use windows but I guess the command line interface is similar.

Reply With Quote
  #3 (permalink)  
Old 02-23-2007
strawberry
 
Posts: n/a
Default Re: Newbie help needed

On Feb 24, 1:32 am, "Duncan" <Dun...@poohead.com> wrote:
> "strawberry" <zac.ca...@gmail.com> wrote in message
>
> news:1172251105.223200.4840@m58g2000cwm.googlegrou ps.com...
>
> > On Feb 23, 11:19 pm, "Duncan" <Dun...@poohead.com> wrote:
> > > Hi All,

> [snip]
> > > Duncan

>
> > FWIW, this is what i type to access mysql
> > mysql -u myusername -p
> > mypassword
> > I use windows but I guess the command line interface is similar.

>
> F*** me that worked, I was missing out the -u
> So simple
> When you say you use windows do you go in via a graphical front end?
> I'm using windows.
> thanks a load
>
> Duncan


No - I meant Windows vs Mac. I just didn't read your post very
thoroughly.
Although I do also use phpmyadmin

Reply With Quote
  #4 (permalink)  
Old 02-24-2007
Duncan
 
Posts: n/a
Default Newbie help needed

Hi All,

I'm learning SQL and the book that I'm reading suggested mySQL as a good DB
to use, it also uses it in the examples.

This is good because I want to learn a bit more about Databases.

So I tried to install the Apple Mac version and although it seemed to
install ok I can't start it or even find it. (I'm not a wizz at the BASH
terminal window).
So I though I'd use the Windows version (using Windows XP on the Mac) this
also seemed to install ok but when I try to start it from the command line
using: > mysql [username] [password]
I get a screen full of stuff starting:-
mysql Ver 14.12 Distrib5.0.27, for Win32 (ia32)
Copyright (C) 2002 MySQL AB
it them lists a load of what I assume are options and then goes back to the
prompt it was before:

If I type: >mysql [username] -p
it asks me for the password and then brings up the message:

I get a message saying that ERROR 1045 (2800): Access denied for user
'ODBC'@'localhost' (using password: YES)

I am certain I'm using the correct password.

I also tried using Toad for MySQL as a front end but this gave the same
password error message

If someone could help with getting either the Windows or the Mac (or both)
working I'd be most grateful

Duncan


Reply With Quote
  #5 (permalink)  
Old 02-24-2007
Duncan
 
Posts: n/a
Default Re: Newbie help needed

"Rik" <luiheidsgoeroe@hotmail.com> wrote:
> Duncan <Duncan@poohead.com> wrote:
> > I get a message saying that ERROR 1045 (2800): Access denied for user
> > 'ODBC'@'localhost' (using password: YES)


> Default after install is 'root' without password for most windows flavours
> afaik.
> --
> Rik Wasmus


No, I've just tried root and same thing with or without the password I
stipulated at install

thanks for replying though
Duncan




Reply With Quote
  #6 (permalink)  
Old 02-24-2007
Duncan
 
Posts: n/a
Default Re: Newbie help needed


"strawberry" <zac.carey@gmail.com> wrote in message
news:1172251105.223200.4840@m58g2000cwm.googlegrou ps.com...
> On Feb 23, 11:19 pm, "Duncan" <Dun...@poohead.com> wrote:
> > Hi All,

[snip]
> > Duncan

>
> FWIW, this is what i type to access mysql
> mysql -u myusername -p
> mypassword


> I use windows but I guess the command line interface is similar.



F*** me that worked, I was missing out the -u
So simple
When you say you use windows do you go in via a graphical front end?
I'm using windows.
thanks a load

Duncan



Reply With Quote
  #7 (permalink)  
Old 02-24-2007
Duncan
 
Posts: n/a
Default Re: Newbie help needed


"strawberry" <zac.carey@gmail.com> wrote in message
news:1172252282.946270.8610@q2g2000cwa.googlegroup s.com...
> On Feb 24, 1:32 am, "Duncan" <Dun...@poohead.com> wrote:
> >
> > Duncan

>
> No - I meant Windows vs Mac. I just didn't read your post very
> thoroughly.
> Although I do also use phpmyadmin



I'll give that a look

Thanks again
Duncan


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0