1

(37 replies, posted in Installation)

RedCone wrote:

I get the following error messages when trying to connect to the db:
mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in file: /var/www/html/includes/db/connect_db_mysqli.inc at line 206
mysqli_select_db() expects parameter 1 to be mysqli, boolean given in file: /var/www/html/includes/db/connect_db_mysqli.inc at line 208
mysqli_query() expects parameter 1 to be mysqli, boolean given in file: /var/www/html/includes/db/connect_db_mysqli.inc at line 213
Cannot connect to database. User or password is invalid or you have no permittions to create database.

I have read every thread I have found, but nothing seems to address this issue. One post suggested issues with PHP7, so I added a modification to revert back to PHP5.6. This did not make any difference. I've also read threads suggesting changes to the connect_db_mysqli.inc file, but my file already seems to include the proposed changes.

I've had no problem accessing MySQL via SSH, so I know it's running. Am I missing something obvious? Oh, and I'm using Ubuntu 16.04

Hoping for a solution...

I tried to install FA on a Synology NAS system.  Got stuck with exactly the same error messages, and done everything that I found in posts etc.  The NAS uses Maria DB (v10).  My solution was to set the MariaDB FTP option and then do the installation with the server being 127.0.0.1:3307, where 3307 is the default port number for ftp connections to the database.