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
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Bernard Schoenacker
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 --------------
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
Bernard Schoenacker
Le Tue, 14 Jun 2016 17:05:26 +0200, Bernard Schoenacker a écrit :
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
bonjour, j'ai essayé laprocédure debian : mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) slt bernard
Le Tue, 14 Jun 2016 17:05:26 +0200,
Bernard Schoenacker <bernard.schoenacker@free.fr> a écrit :
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
bonjour,
j'ai essayé laprocédure debian :
mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)
Le Tue, 14 Jun 2016 17:05:26 +0200, Bernard Schoenacker a écrit :
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
bonjour, j'ai essayé laprocédure debian : mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) slt bernard
Le Tue, 14 Jun 2016 22:35:15 +0200, Daniel Caillibaud a écrit :
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)
bonjour, après plusieures tentatives infructueuses j'ai tout remis à l'équerre en réinstallant et là le debian.cnf est rempli ... merci pour tout slt bernard
Le Tue, 14 Jun 2016 22:35:15 +0200,
Daniel Caillibaud <ml@lairdutemps.org> a écrit :
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)
bonjour,
après plusieures tentatives infructueuses j'ai tout remis à l'équerre
en réinstallant et là le debian.cnf est rempli ...
Le Tue, 14 Jun 2016 22:35:15 +0200, Daniel Caillibaud a écrit :
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)
bonjour, après plusieures tentatives infructueuses j'ai tout remis à l'équerre en réinstallant et là le debian.cnf est rempli ... merci pour tout slt bernard