mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 12:25:14 +02:00
commit
51854754b6
1 changed files with 12 additions and 1 deletions
|
@ -103,6 +103,17 @@ If you encounter a bug, please let us know.
|
||||||
### Create a database
|
### 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.
|
Friendica needs the permission to create and delete fields and tables in its own database.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue