I'm trying to install OC9 on CentOS 7 with PHP 5.5 using MySQL. Problem in the initial setup-guide is that I can't establish a connection to the database. MySQL-User was created, database as well and rights like this:
GRANT ALL ON privatecloudDB.* to 'privateclouduser'@'localhost' IDENTIFIED BY '[ENTER_PASSWORD]';
Hosts for User are localhost and 127.0.0.1. When entering localhost in Host-Field in installer I get:
Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [2002] Permission denied.
When entering 127.0.0.1 in the Host-Field I get:
Error while trying to create admin user: Failed to connect to the database: An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user 'privateclouduser’@'localhost' (using password: YES)
Has anyone an idea, why it's not working?
Server configuration
Operating system: CentOS 7 64 Bit
Web server: Apache 2.4
Database: MariaDB 10
PHP version: 5.5
ownCloud version (see ownCloud admin page): (9)
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808): empty