Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 02:39
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  MySQL, PostgreSQL, MS SQL, Access (Moderators: Flash-db, Musicman, Ronald Wernecke, Jorge Solis, Andries Seutens)
| | |-+  Trouble Creating New Users on MySQL
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Trouble Creating New Users on MySQL  (Read 1469 times)
Adam
Server what's that
*
Posts: 34



View Profile Email
« on: 06/14/04, 09:58 »

Hi,

I've installed MySQL on my own system running windows 2000 pro. I'm having trouble creating and accessing new users. I log in as root and I run a file called newuser.sql. It contains:

grant select
on db3.*
to memuser identified by 'samplepass';

from the command line i run> source newuser.sql

It seems to run fine but when I attempt to log in as memuser using the password I get "access denied". It seems the system sees the user but the password is not recognized. Does anyone know what I'm doing wrong?

Thanks,
Adam
Logged
Musicman
Administrator
Systems Administrator
*****
Posts: 2685



View Profile WWW Email
« Reply #1 on: 06/14/04, 17:44 »

Hi,

at least on unix we are supposed to use username@localhost - and some of the error messages say so

Musicman
Logged
Greg D.
Server what's that
*
Posts: 4



View Profile WWW
« Reply #2 on: 06/23/04, 12:34 »

I've got MySQL and win2000 running as well, and as a rule, I create users with the @localhost as well, like this:

grant select on db3.* to memuser@localhost identified by 'samplepass';

I *believe* the @localhost is necessary to get to it *from the console* but that it might run fine otherwise.

Using the above statement, in any case, does let you log in to the console with that username and password.

Hope this helps,
Greg
« Last Edit: 06/23/04, 12:36 by Greg D. » Logged

Who do you want to blend today?
Carnage Blender
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!