problem at installation

Read 283 times
hello, i have an error finishing the installation. I checked /usr/local/centovacast/etc/centovacast.conf file DB_HOST is 127.0.0.1 , i checked UNIX domain socket at an unusual location too. Help me please
Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database: Access denied for user 'root'@'localhost'' in /usr/local/centovacast/system/class_CCSQL.php:40 Stack trace: #0
thank you
Hello gasguti,

That particular error message usually means that you aren't using the correct credentials (i.e user and password). Either that, or your database server has been set to not allow the use of the root account via the network socket, or at all from applications other than the command line tool running with root privileges.

I would recommend creating a new user with all privileges to the database, instead of using the root account directly.

You can find the syntax for creating a new user at the link below.

https://dev.mysql.com/doc/refman/8.0/en/create-user.html


Regards.