Un simple pense bête de commande Mysql...
mysql>mysql -u root
mysql>create database db;
mysql>GRANT ALL ON db.* TO 'integration'@'localhost' IDENTIFIED BY 'integration';
mysql>GRANT ALL ON db.* TO 'integration'@'%' IDENTIFIED BY 'integration';
mysql>flush privileges;
mysql>quit
Ensuite on peut se connecter en localhost ou d'une IP :
mysql -u integration -p
mysql -u integration -h 127.0.0.1 -p
Aucun commentaire:
Enregistrer un commentaire