i have installed xampp server on ubuntu and i have moved projeqtor on htdocs folder when i go to localhost /projeqtor i have this mistake SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'
dsn = mysql:host=127.0.0.1;port=3306 can you help me to solve that problem please without creating a new user
Please read the error message provided :
Access denied for user 'root'@'localhost'
Isn't it clear ?
Acces to DB is refused, most likely because you did npt provide the correct DB password.
no i don't put a password when i installed mysql server when i configured projeqtor fo the user roor i put no password
Possibly the installation defined a defaut password for root (this is a good thing)
Also notice that some disto will configure MySql so that connection with root user is not allowed.
So you'd need to create a scpecific user to connect to the DB.