Hi,
I discovered OwnCloud today and I would like to try. I download the Latest stable release and I followed the installation page.
But when I valided the first page, I've got the error :
[Error message: Could not execute statement] [Last executed query: CREATE DATABASE `owncloud` DEFAULT CHARACTER SET 'utf8'] [Native code: 1044] [Native message: Access denied for user 'oc_adminuserna'@'%' to database 'owncloud'] MDB2 Error: insufficient permissions: _doQuery: [Error message: Could not execute statement] [Last executed query: CREATE DATABASE `owncloud` DEFAULT CHARACTER SET 'utf8'] [Native code: 1044] [Native message: Access denied for user 'oc_adminuserna'@'%' to database 'owncloud'] .
The problem is : the username used to connect to the database is the name I enter in the field "admin user name" and not the name I enter in the field "Db user name" !
Here the config.php file created : (let's say I enter adminusername as username for admin account and dbusername as "Db user name")
<?php
$CONFIG = array(
"datadirectory" => '/var/www/xxx/xxx,
"dbtype" => 'mysql',
"version" => '3.0.2',
"installedat" => '1334925789.8179',
"lastupdatedat" => '1334925789.8188',
"dbname" => 'owncloud',
"dbhost" => '192.166.0.0',
"dbtableprefix" => 'oc_',
"dbuser" => 'oc_adminuserna',
"dbpassword" => '4cds4564fsd545re4z65r4ev41564654',
);
The dbuser used to connect the database (and to fill it) is :
- modified ("oc_" is added !)
- wrong (it's the (truncated!) username asked for the admin account and not the name given in the "Db user name" field )
Even if I fix the user in the config.php file, it doesn't work : I got the error :
[Error message: unable to establish a connection] [Native code: 0] MDB2 Error: connect failed: _doConnect: [Error message: unable to establish a connection] [Native code: 0]
and the config.php file is filled with the wrong :
"dbuser" => 'oc_adminuserna',
Could you fix that ?
Environment: RootServer - Ubuntu 10.04 LTS
Server: Apache
Database: mysql
Client: Firefox
OC-Version: OwnCloud 3.0.2
PHP-Version: PHP 5.3.2
