]> git.mxchange.org Git - friendica.git/blobdiff - doc/Install.md
Merge pull request #11585 from annando/fix-display
[friendica.git] / doc / Install.md
index 61c102e98e6e267043518e9a1f4df77ab31d2e48..733c8109b086cee711b4c0f415864148e30847c2 100644 (file)
@@ -102,7 +102,18 @@ If you encounter a bug, please let us know.
 
 ### Create a database
 
-Create an empty database and note the access details (hostname, username, password, database name).
+Create an empty database and note the access details (hostname, username, password, database name). 
+Generate a strong password, then enter mysql with:
+
+    mysql
+    
+Then use the following script using the password you just generated:
+
+    CREATE DATABASE friendicadb;
+    CREATE USER 'friendica'@'localhost' IDENTIFIED BY '<<your mysql password here>>';
+    GRANT ALL ON friendicadb.* TO 'friendica'@'localhost';
+    FLUSH PRIVILEGES;
+    EXIT;
 
 Friendica needs the permission to create and delete fields and tables in its own database.
 
@@ -471,7 +482,7 @@ You tried to upload an image up to 100kB and it failed.
 
 You may not have the ownership or file mode set correctly if you are using the file system storage backend.
 
-Change the backend to database. If this solves it, that that is was needs to be fixed.
+Change the backend to database. If this solves it, that is what needs to be fixed.
 
 ### Error uploading large files