On 2016-08-24 12:07, Günther J. Niederwimmer wrote:
Hello Rob,

Thanks for the Help

This is my first time to install owncloud ..... ;-)

NP..

I tested it now local and can connect to mariadb "mysql -u databaseuser -p"
without Errors. The Mariadb is on the same KVM  System then owncloud ?

The permissions is set from owncloud, or ?

It doesn't matter where the database server is, as long as you can login to it. If it's on the same server as ownCloud, then I usually use 127.0.0.1 to connect to. The MySQL user should then be 'databaseuser'@'127.0.0.1'. For you it can be different.

It will work if you create the database user and configure ownCloud to
use it. It's in file config/config.php.

I mean inside it is something wrong ?

<?php
$CONFIG = array (
[...]
   'dbtype' => 'mysql',
   'version' => '9.1.0.15',
   'dbname' => 'owncloudDB',
   'dbhost' => 'localhost',
   'dbtableprefix' => 'oc_',
);

i miss the db user ? can this a Problem, i named the user "ocuser", OK this
can I change and check ?

What you need is this:

  'dbtype' => 'mysql',
  'dbname' => 'owncloud',
  'dbhost' => '127.0.0.1',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'TheDBUserHere',
  'dbpassword' => 'ThePasswowrdHere',

ownCloud needs to know:
- The type of database connection (MySQL),
- Where to connect to (hostname/IP address),
- The username,
- The password,
- The database to use.


--
Rob

_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user

Reply via email to