Reputation: 416
I followed this installation guide for Sulu CMS. But get this database error:
PHP Fatal error: Uncaught exception 'PDOException' with message
'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost'
(using password: NO)'
This is the parameters.yml file:
parameters:
database_driver: pdo_mysql
database_host: localhost
database_port: null
database_name: sulu-cms
database_user: root
database_password: root
database_version: 5.6
mailer_transport: smtp
mailer_host: localhost
mailer_user: null
mailer_password: null
secret: ThisTokenIsNotSoSecretChangeIt
sulu_admin.name: Sulu
sulu_admin.email: null
websocket_port: 9876
websocket_url: sulu.lo
phpcr_backend:
type: doctrinedbal
phpcr_workspace: default
phpcr_user: admin
phpcr_pass: admin
phpcr_cache: file_system
Upvotes: 0
Views: 132
Reputation: 289
Are you sure that the mysql username and password are correct?
Upvotes: 1