You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MySQL or MariaDB databases are the recommended database engines.
12
12
@@ -25,12 +25,12 @@ requires that you install and set up the server software first.
25
25
MySQL / MariaDB with Binary Logging Enabled
26
26
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
27
27
28
-
ownCloud is currently using a ``TRANSACTION_READ_COMMITTED`` transaction isolation
28
+
Nextcloud is currently using a ``TRANSACTION_READ_COMMITTED`` transaction isolation
29
29
to avoid data loss under high load scenarios (e.g. by using the sync client with
30
30
many clients/users and many parallel operations). This requires a disabled or
31
31
correctly configured binary logging when using MySQL or MariaDB. Your system is
32
32
affected if you see the following in your log file during the installation or
33
-
update of ownCloud:
33
+
update of Nextcloud:
34
34
35
35
An unhandled exception has been thrown:
36
36
exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1665
@@ -65,7 +65,7 @@ for detailed information.
65
65
66
66
Parameters
67
67
----------
68
-
For setting up ownCloud to use any database, use the instructions in :doc:`../installation/installation_wizard`. You should not have to edit the respective values in the :file:`config/config.php`. However, in special cases (for example, if you want to connect your ownCloud instance to a database created by a previous installation of ownCloud), some modification might be required.
68
+
For setting up Nextcloud to use any database, use the instructions in :doc:`../installation/installation_wizard`. You should not have to edit the respective values in the :file:`config/config.php`. However, in special cases (for example, if you want to connect your Nextcloud instance to a database created by a previous installation of Nextcloud), some modification might be required.
69
69
70
70
Configuring a MySQL or MariaDB Database
71
71
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -74,7 +74,7 @@ If you decide to use a MySQL or MariaDB database, ensure the following:
74
74
75
75
* That you have installed and enabled the pdo_mysql extension in PHP
76
76
77
-
* That the **mysql.default_socket** points to the correct socket (if the database runs on the same server as ownCloud).
77
+
* That the **mysql.default_socket** points to the correct socket (if the database runs on the same server as Nextcloud).
78
78
79
79
.. note:: MariaDB is backwards compatible with MySQL. All instructions work for both. You will not need to replace mysql with anything.
80
80
@@ -100,7 +100,7 @@ The PHP configuration in :file:`/etc/php5/conf.d/mysql.ini` could look like this
100
100
mysql.trace_mode=Off
101
101
102
102
Now you need to create a database user and the database itself by using the
103
-
MySQL command line interface. The database tables will be created by ownCloud
103
+
MySQL command line interface. The database tables will be created by Nextcloud
104
104
when you login for the first time.
105
105
106
106
To start the MySQL command line mode use::
@@ -112,14 +112,14 @@ Then a **mysql>** or **MariaDB [root]>** prompt will appear. Now enter the follo
112
112
::
113
113
114
114
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
115
-
CREATE DATABASE IF NOT EXISTS owncloud;
116
-
GRANT ALL PRIVILEGES ON owncloud.* TO 'username'@'localhost' IDENTIFIED BY 'password';
115
+
CREATE DATABASE IF NOT EXISTS nextcloud;
116
+
GRANT ALL PRIVILEGES ON nextcloud.* TO 'username'@'localhost' IDENTIFIED BY 'password';
117
117
118
118
You can quit the prompt by entering::
119
119
120
120
quit
121
121
122
-
An ownCloud instance configured with MySQL would contain the hostname on which
122
+
An Nextcloud instance configured with MySQL would contain the hostname on which
123
123
the database is running, a valid username and password to access it, and the
124
124
name of the database. The :file:`config/config.php` as created by the
125
125
:doc:`../installation/installation_wizard` would therefore contain entries like
@@ -130,7 +130,7 @@ this:
130
130
<?php
131
131
132
132
"dbtype" => "mysql",
133
-
"dbname" => "owncloud",
133
+
"dbname" => "nextcloud",
134
134
"dbuser" => "username",
135
135
"dbpassword" => "password",
136
136
"dbhost" => "localhost",
@@ -168,13 +168,13 @@ Then a **template1=#** prompt will appear. Now enter the following lines and con
168
168
::
169
169
170
170
CREATE USER username CREATEDB;
171
-
CREATE DATABASE owncloud OWNER username;
171
+
CREATE DATABASE nextcloud OWNER username;
172
172
173
173
You can quit the prompt by entering::
174
174
175
175
\q
176
176
177
-
An ownCloud instance configured with PostgreSQL would contain the path to the socket on
177
+
An Nextcloud instance configured with PostgreSQL would contain the path to the socket on
178
178
which the database is running as the hostname, the system username the php process is using,
179
179
and an empty password to access it, and the name of the database. The :file:`config/config.php` as
180
180
created by the :doc:`../installation/installation_wizard` would therefore contain entries like
@@ -185,7 +185,7 @@ this:
185
185
<?php
186
186
187
187
"dbtype" => "pgsql",
188
-
"dbname" => "owncloud",
188
+
"dbname" => "nextcloud",
189
189
"dbuser" => "username",
190
190
"dbpassword" => "",
191
191
"dbhost" => "/var/run/postgresql",
@@ -196,7 +196,7 @@ this:
196
196
If you use another authentication method (not peer), you'll need to use the following steps to get the database setup:
197
197
Now you need to create a database user and the database itself by using the
198
198
PostgreSQL command line interface. The database tables will be created by
199
-
ownCloud when you login for the first time.
199
+
Nextcloud when you login for the first time.
200
200
201
201
To start the postgres command line mode use::
202
202
@@ -215,7 +215,7 @@ You can quit the prompt by entering::
215
215
216
216
\q
217
217
218
-
An ownCloud instance configured with PostgreSQL would contain the hostname on
218
+
An Nextcloud instance configured with PostgreSQL would contain the hostname on
219
219
which the database is running, a valid username and password to access it, and
220
220
the name of the database. The :file:`config/config.php` as created by the
221
221
:doc:`../installation/installation_wizard` would therefore contain entries like
@@ -226,7 +226,7 @@ this:
226
226
<?php
227
227
228
228
"dbtype" => "pgsql",
229
-
"dbname" => "owncloud",
229
+
"dbname" => "nextcloud",
230
230
"dbuser" => "username",
231
231
"dbpassword" => "password",
232
232
"dbhost" => "localhost",
@@ -246,7 +246,7 @@ refer to the manual of your database for how to raise the configuration options
246
246
``wait_timeout`` and/or ``max_allowed_packet``.
247
247
248
248
Some shared hosters are not allowing the access to these config options. For such
249
-
systems ownCloud is providing a ``dbdriveroptions`` configuration option within your
249
+
systems Nextcloud is providing a ``dbdriveroptions`` configuration option within your
250
250
:file:`config/config.php` where you can pass such options to the database driver.
251
251
Please refer to :doc:`../configuration_server/config_sample_php_parameters` for an example.
252
252
@@ -302,12 +302,12 @@ the respective host name::
302
302
Assuming the database server is installed on the same system you're running
303
303
the command from, use::
304
304
305
-
psql -Uusername -downcloud
305
+
psql -Uusername -dnextcloud
306
306
307
307
To access a MySQL installation on a different machine, add the -h option with
0 commit comments