• Eventuellement, pour vider une ancienne base :
 drop database foo;
  • Puis :
create database foo;
create user 'fooUser'@'localhost' identified by 'unMotDePasse';
grant all on foo.* to 'fooUser'@'localhost';
flush privileges;

Créer un pseudo-root pour MariaDb

create user 'admin'@'localhost' identified by 'unMotDePasse';
grant all on *.* to 'admin'@'localhost' with grant option;
flush privileges;

Adminer

  • Adminer permet l'administration d'une base mysql via PHP.
  • La version 4.7.6 pose problème (pas de création possible des indexs multiples)
  • La version 4.7.5 est totalement fonctionnelle (PHP 5.6 à 7.3), téléchargement ici