Răsfoiți Sursa

New fixes in Readme

Roman Dmitriev 1 an în urmă
părinte
comite
cf496dfa13
2 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 1 1
      Readme.en.md
  2. 2 2
      Readme.ru.md

+ 1 - 1
Readme.en.md

@@ -54,7 +54,7 @@ mysql_secure_installation - set password for root
 Create user and database
 Create user and database
 
 
 MariaDB [(none)]>
 MariaDB [(none)]>
-CREATE DATABASE `stat` DEFAULT utf8mb4 CHARACTER SET MATCH utf8mb4_unicode_ci;
+CREATE DATABASE IF NOT EXISTS `stat` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
 grant all privileges to stat.* stat@localhost, identified with a "password";
 grant all privileges to stat.* stat@localhost, identified with a "password";
 reset privileges;
 reset privileges;
 go out
 go out

+ 2 - 2
Readme.ru.md

@@ -53,8 +53,8 @@ mysql_secure_installation - утсановить пароль для root
 
 
 Создать юзера и базу данных
 Создать юзера и базу данных
 
 
-MariaDB [(none)]> 
-CREATE DATABASE `stat` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
+MariaDB [(none)]>
+CREATE DATABASE IF NOT EXISTS `stat` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
 grant all privileges on stat.* to stat@localhost identified by 'password';
 grant all privileges on stat.* to stat@localhost identified by 'password';
 flush privileges;
 flush privileges;
 quit
 quit