mahdi22
Nouveau membre
Bonjour ,
j ai rencontré un problème lors d'une création d'une BD voila la syntaxe:
[fixed]
$sudo apt-get install mysql-server mysql-client
$mysql -u root -p
mysql>CREATE DATABASE snort;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on snort.* to snort;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on snort.* to snort@localhost;
mysql>set password for snort=PASSWORD('password');
mysql>set password for snort@localhost=PASSWORD('password');
mysql>flush privileges;
mysql>exit[/fixed]
Jusque là tout fonctionne mais lors de la creation de la 2eme BD archive dont la syntaxe :
[fixed]mysql>CREATE DATABASE archive;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on archive.* to snort;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on archive.* to snort@localhost;[/fixed]
apres je tape set passwrd :
[fixed]mysql>set password for archive=PASSWORD('password');[/fixed]
il m indique :
[fixed]ERROR 1133 (42000): Can't find any matching row in the user table[/fixed]
j'ai cherché les solutions possibles sur net mais rien a fonctionné
merci. =(
j ai rencontré un problème lors d'une création d'une BD voila la syntaxe:
[fixed]
$sudo apt-get install mysql-server mysql-client
$mysql -u root -p
mysql>CREATE DATABASE snort;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on snort.* to snort;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on snort.* to snort@localhost;
mysql>set password for snort=PASSWORD('password');
mysql>set password for snort@localhost=PASSWORD('password');
mysql>flush privileges;
mysql>exit[/fixed]
Jusque là tout fonctionne mais lors de la creation de la 2eme BD archive dont la syntaxe :
[fixed]mysql>CREATE DATABASE archive;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on archive.* to snort;
mysql>grant INSERT,SELECT,UPDATE,CREATE,DELETE on archive.* to snort@localhost;[/fixed]
apres je tape set passwrd :
[fixed]mysql>set password for archive=PASSWORD('password');[/fixed]
il m indique :
[fixed]ERROR 1133 (42000): Can't find any matching row in the user table[/fixed]
j'ai cherché les solutions possibles sur net mais rien a fonctionné
merci. =(