for example

create user, database, privileges then to update privileges:

CREATE USER 'online_dating'@'localhost' IDENTIFIED BY 'vWOjVAtv28uo4K93';
CREATE DATABASE online_dating CHARACTER SET=utf8 COLLATE=utf8_general_ci;
GRANT ALL ON online_dating.* TO 'online_dating'@'localhost';
FLUSH PRIVILEGES;

then import data:

mysql -u online_dating -p online_dating < online_dating.sql
Enter password:



par exemple

créer un utilisateur, une base de données, les privilèges puis mettre à jour les privilèges:

CREATE USER 'online_dating'@'localhost' IDENTIFIED BY 'vWOjVAtv28uo4K93';
CREATE DATABASE online_dating CHARACTER SET=utf8 COLLATE=utf8_general_ci;
GRANT ALL ON online_dating.* TO 'online_dating'@'localhost';
FLUSH PRIVILEGES;

puis importer les données:

mysql -u online_dating -p online_dating < online_dating.sql
Enter password:



Copyright (C) 2015, 2017 David MAURER david-maurer@netdefi.com

This file is part of "Online dating web site" documentation.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the file COPYING.GFDL.
