bonjour,
j'essaye de créer un user avec mariadb en ligne de commande et voici
le résultat :
mysql -u phpmyadmin -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 868
Server version: 10.0.25-MariaDB-1 Debian buildd-unstable
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input
statement.
MariaDB [(none)]> CREATE USER 'louche'@'localhost' IDENTIFIED BY
'jean-michel'; ERROR 1227 (42000): Access denied; you need (at least
one of) the CREATE USER privilege(s) for this operation
comment sortir de l'impasse ?
slt
bernard
bonjour,
j'essaye de créer un user avec mariadb en ligne de commande et voici
le résultat :
mysql -u phpmyadmin -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 868
Server version: 10.0.25-MariaDB-1 Debian buildd-unstable
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input
statement.
MariaDB [(none)]> CREATE USER 'louche'@'localhost' IDENTIFIED BY
'jean-michel'; ERROR 1227 (42000): Access denied; you need (at least
one of) the CREATE USER privilege(s) for this operation
comment sortir de l'impasse ?
slt
bernard
bonjour,
j'essaye de créer un user avec mariadb en ligne de commande et voici
le résultat :
mysql -u phpmyadmin -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 868
Server version: 10.0.25-MariaDB-1 Debian buildd-unstable
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input
statement.
MariaDB [(none)]> CREATE USER 'louche'@'localhost' IDENTIFIED BY
'jean-michel'; ERROR 1227 (42000): Access denied; you need (at least
one of) the CREATE USER privilege(s) for this operation
comment sortir de l'impasse ?
slt
bernard
Le Tue, 14 Jun 2016 16:25:52 +0200,
Bernard Schoenacker a écrit :bonjour,
j'essaye de créer un user avec mariadb en ligne de commande et voici
le résultat :
mysql -u phpmyadmin -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 868
Server version: 10.0.25-MariaDB-1 Debian buildd-unstable
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input
statement.
MariaDB [(none)]> CREATE USER 'louche'@'localhost' IDENTIFIED BY
'jean-michel'; ERROR 1227 (42000): Access denied; you need (at least
one of) the CREATE USER privilege(s) for this operation
comment sortir de l'impasse ?
slt
bernard
bonjour,
je donne la suite pour éclaircir un peut les nuages :
For server side help, type 'help contents'
MariaDB [(none)]> status
--------------
mysql Ver 15.1 Distrib 10.0.25-MariaDB, for debian-linux-gnu (i686)
using readline 5.2
Connection id: 879
Current database:
Current user:
SSL: Not in use
Current pager: most
Using outfile: ''
Using delimiter: ;
Server: MariaDB
Server version: 10.0.25-MariaDB-1 Debian
buildd-unstable Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: utf8mb4
Db characterset: utf8mb4
Client characterset: utf8mb4
Conn. characterset: utf8mb4
UNIX socket: /var/run/mysqld/mysqld.sock
Uptime: 3 days 16 hours 5 min 28 sec
Threads: 1 Questions: 4746 Slow queries: 0 Opens: 34 Flush tables:
1 Open tables: 97 Queries per second avg: 0.014 --------------
slt
bernard
Le Tue, 14 Jun 2016 16:25:52 +0200,
Bernard Schoenacker <bernard.schoenacker@free.fr> a écrit :
> bonjour,
>
>
> j'essaye de créer un user avec mariadb en ligne de commande et voici
> le résultat :
>
>
> mysql -u phpmyadmin -p
> Enter password:
> Welcome to the MariaDB monitor. Commands end with ; or g.
> Your MariaDB connection id is 868
> Server version: 10.0.25-MariaDB-1 Debian buildd-unstable
>
> Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
>
> Type 'help;' or 'h' for help. Type 'c' to clear the current input
> statement.
>
> MariaDB [(none)]> CREATE USER 'louche'@'localhost' IDENTIFIED BY
> 'jean-michel'; ERROR 1227 (42000): Access denied; you need (at least
> one of) the CREATE USER privilege(s) for this operation
>
>
> comment sortir de l'impasse ?
>
> slt
> bernard
>
bonjour,
je donne la suite pour éclaircir un peut les nuages :
For server side help, type 'help contents'
MariaDB [(none)]> status
--------------
mysql Ver 15.1 Distrib 10.0.25-MariaDB, for debian-linux-gnu (i686)
using readline 5.2
Connection id: 879
Current database:
Current user: phpmyadmin@localhost
SSL: Not in use
Current pager: most
Using outfile: ''
Using delimiter: ;
Server: MariaDB
Server version: 10.0.25-MariaDB-1 Debian
buildd-unstable Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: utf8mb4
Db characterset: utf8mb4
Client characterset: utf8mb4
Conn. characterset: utf8mb4
UNIX socket: /var/run/mysqld/mysqld.sock
Uptime: 3 days 16 hours 5 min 28 sec
Threads: 1 Questions: 4746 Slow queries: 0 Opens: 34 Flush tables:
1 Open tables: 97 Queries per second avg: 0.014 --------------
slt
bernard
Le Tue, 14 Jun 2016 16:25:52 +0200,
Bernard Schoenacker a écrit :bonjour,
j'essaye de créer un user avec mariadb en ligne de commande et voici
le résultat :
mysql -u phpmyadmin -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or g.
Your MariaDB connection id is 868
Server version: 10.0.25-MariaDB-1 Debian buildd-unstable
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or 'h' for help. Type 'c' to clear the current input
statement.
MariaDB [(none)]> CREATE USER 'louche'@'localhost' IDENTIFIED BY
'jean-michel'; ERROR 1227 (42000): Access denied; you need (at least
one of) the CREATE USER privilege(s) for this operation
comment sortir de l'impasse ?
slt
bernard
bonjour,
je donne la suite pour éclaircir un peut les nuages :
For server side help, type 'help contents'
MariaDB [(none)]> status
--------------
mysql Ver 15.1 Distrib 10.0.25-MariaDB, for debian-linux-gnu (i686)
using readline 5.2
Connection id: 879
Current database:
Current user:
SSL: Not in use
Current pager: most
Using outfile: ''
Using delimiter: ;
Server: MariaDB
Server version: 10.0.25-MariaDB-1 Debian
buildd-unstable Protocol version: 10
Connection: Localhost via UNIX socket
Server characterset: utf8mb4
Db characterset: utf8mb4
Client characterset: utf8mb4
Conn. characterset: utf8mb4
UNIX socket: /var/run/mysqld/mysqld.sock
Uptime: 3 days 16 hours 5 min 28 sec
Threads: 1 Questions: 4746 Slow queries: 0 Opens: 34 Flush tables:
1 Open tables: 97 Queries per second avg: 0.014 --------------
slt
bernard
mysql -u root
mysql -u root
mysql -u root
Le 14/06/16 à 16:25, Bernard Schoenacker
a écrit :
BS> mysql -u phpmyadmin -p
BS> Access denied; you need (at least one of) the CREATE USER
BS> privilege(s) for this operation
Donc le user phpmyadmin n'a pas les droits create user et ne peut pas
créer d'utilisateur
BS> comment sortir de l'impasse ?
Utiliser un user qui dispose de ces droits…
Il a dû être choisi à l'install.
Tu peux regarder si mariadb n'a pas comme mysql un user
debian-syst-maint (ou équivalent) ayant ces droits (pour mysql les
infos sont dans /etc/mysql/debian.cnf)
Le 14/06/16 à 16:25, Bernard Schoenacker
<bernard.schoenacker@free.fr> a écrit :
BS> mysql -u phpmyadmin -p
BS> Access denied; you need (at least one of) the CREATE USER
BS> privilege(s) for this operation
Donc le user phpmyadmin n'a pas les droits create user et ne peut pas
créer d'utilisateur
BS> comment sortir de l'impasse ?
Utiliser un user qui dispose de ces droits…
Il a dû être choisi à l'install.
Tu peux regarder si mariadb n'a pas comme mysql un user
debian-syst-maint (ou équivalent) ayant ces droits (pour mysql les
infos sont dans /etc/mysql/debian.cnf)
Le 14/06/16 à 16:25, Bernard Schoenacker
a écrit :
BS> mysql -u phpmyadmin -p
BS> Access denied; you need (at least one of) the CREATE USER
BS> privilege(s) for this operation
Donc le user phpmyadmin n'a pas les droits create user et ne peut pas
créer d'utilisateur
BS> comment sortir de l'impasse ?
Utiliser un user qui dispose de ces droits…
Il a dû être choisi à l'install.
Tu peux regarder si mariadb n'a pas comme mysql un user
debian-syst-maint (ou équivalent) ayant ces droits (pour mysql les
infos sont dans /etc/mysql/debian.cnf)