Trouble creating user

2001-02-10 Thread Larry Marshall

Using RedHat 7.0, MySQL-3.23.32.-1
Logged on with mysql -u root -p, issued GRANT ALL ON samp_db.* TO user
IDENTIFIED BY "secret";
When logged onto Linux in the user account, typed mysql -p, resulted in:

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

If I use the similar format GRANT command, but TO user@localhost, the result
is the same. If I try to issue the mysql command without the password
parameter, the result is the same.

What am I doing wrong? Larry

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Installation error Linux RedHat 7.0

2001-02-10 Thread Larry Marshall

On issuing the command:

 rpm -i MySQL-32.23.32.-1.i386.rpm

the following error listed:

  cannot open Packages index using db3 - Permission denied (13)

  --> The rpm database cannot be opened in db3 format.
   If you have just upgraded the rpm package you need to convert
   your database to db3 format by running "rpm --rebuilddb" as root.

  error: cannot open Packages database in /var/lib/rpm

Any suggestions? Thanks - Larry

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php