MySQL Problem

Permalink
Hey, I got a problem while installing concrete on my vServer on Linux.
It's running on Apache2.
I get the error "PDOException: SQLSTATE[HY000] [2002] Connection timed out".
More detailed:https://hastebin.com/emewazupux.shell...

Thanks in advance!

 
JohntheFish replied on at Permalink Reply
JohntheFish
You will need to empty out the partially set-up database before trying again (drop all tables).

My preferred way round such issues is to install from the command line. Seehttps://documentation.concrete5.org/developers/appendix/cli-commands...

From a terminal/CLI window, change directory to the root directory of your c5 site and then
> concrete/bin/concrete5 c5:install --interactive

If you would prefer to try again through the web interface, first close all un-necessary applications and services on your system.
MyriadC replied on at Permalink Reply
I tried the installation with the terminal and I get the same error.
Oh and the database was empty.
JohntheFish replied on at Permalink Reply
JohntheFish
You could double-check you have the correct database login/password/dbname/location and that your database login has the necessary permissions. A simple typo such as upper/lower case or a trailing space could cause the database connection to fail.