Problem mit 'Adding new user'

Ich brauche Linux SuSE10.2 und versuche einen neuen 'user' zu zu fuegen in
den database.

Siehe beispiel:
http://asterisk2billing.org/html/x433.html



As root
mysql mysql

gibt mir:
************************************************************ **
asterisk:~ # mysql mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 5.0.26-Max

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
************************************************************ **


SQL queries to create the new mysql user :

GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser2' [at] '%' IDENTIFIED
BY 'a2billing' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser2' [at] 'localhost' IDENTIFIED
BY 'a2billing' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser2' [at] 'localhost.localdomain'
IDENTIFIED BY 'a2billing' WITH GRANT OPTION;
\q (to quit)

gibt mir:
************************************************************ **********
mysql> GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser2' [at] '%' IDENTIFIED
BY 'a2billing' WITH GRANT OPTION;
Query OK, 0 rows affected (0.25 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser2' [at] 'localhost'
IDENTIFIED BY 'a2billing' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON *.*
TO 'a2billinguser2' [at] 'localhost.localdomain' IDENTIFIED BY 'a2billing' WITH
GRANT OPTION       ;
Query OK, 0 rows affected (0.00 sec)

mysql> \q
Bye
************************************************************ *************

Create a2billing database
mysqladmin create mya2billing -u a2billinguser -p                              
(prompt will ask you for password, in our case enter 'a2billing')

gibt mir:
************************************************************ **************
asterisk:~ # mysqladmin create mya2billing -u a2billinguser -p
Enter password: a2billing <--------this is the password I give.
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'a2billinguser' [at] 'localhost' (using password:
YES)'   <---------HIER IST DAS PROBLEM !!

Kann jederman mir bitte sagen was ich falsch mache?

Vielen dank.
Henk

(entschuldigung fuer mein Deutsch bitte !)
Henk Oegema [ Do, 28 Juni 2007 10:37 ] [ ID #1753431 ]

Re: Problem mit 'Adding new user'

Henk Oegema wrote:

> Ich brauche Linux SuSE10.2 und versuche einen neuen 'user' zu zu fuegen

brauche = gebrauche.
Henk Oegema [ Do, 28 Juni 2007 13:02 ] [ ID #1753432 ]

Re: Problem mit 'Adding new user'

Henk Oegema schrieb:

> GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser2' [at] 'localhost' IDENTIFIED
¯¯¯¯¯¯¯¯¯¯¯¯¯¯

> asterisk:~ # mysqladmin create mya2billing -u a2billinguser -p
¯¯¯¯¯¯¯¯¯¯¯¯¯

Das sind zwei verschiedene Benutzer.

Gruß. Claus
Claus Reibenstein [ Do, 28 Juni 2007 18:42 ] [ ID #1753435 ]

Re: Problem mit 'Adding new user'

Claus Reibenstein wrote:

> Henk Oegema schrieb:
>
>> GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser2' [at] 'localhost' IDENTIFIED
> ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
>
>> asterisk:~ # mysqladmin create mya2billing -u a2billinguser -p
> ¯¯¯¯¯¯¯¯¯¯¯¯¯
>
> Das sind zwei verschiedene Benutzer.
>
> Gruß. Claus
Vielen Dank Claus

Gruß, Henk
Henk Oegema [ Fr, 29 Juni 2007 10:46 ] [ ID #1754363 ]
Datenbanken » de.comp.datenbanken.mysql » Problem mit 'Adding new user'

Vorheriges Thema: Bestimmte Queries aus der Replication ausschließen
Nächstes Thema: upgrade von 4.0 auf 5.0; Replikation