Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

SQLSTATE[HY000] [10...
 
Notifications
Clear all

SQLSTATE[HY000] [1045] Access denied for user 'admin'@'localhost' (using passwor

9 Posts
2 Users
0 Reactions
10.6 K Views
 Reza
(@rvasighi)
Posts: 12
Active Member
Topic starter
 
[#5987]

I have an message like below, before i used projector and i solved this problem, but i forgot: i remember for this problem i must chane the attribution file from read only to read and write
but i forgot which file

please help me to solve this issue:

SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
dsn = mysql:host=127.0.0.1;port=3306


 
Posted : 16 May 2019 18H35
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

This issue is in parameters.php (location defined in /tool/parametersLocation.php)

It seems DB password is incorrect.


 
Posted : 17 May 2019 15H26
 Reza
(@rvasighi)
Posts: 12
Active Member
Topic starter
 

Thanks for your quick answer, but my problem is exactly that i have not parameterlocation.php
i have not this file
i check in tool liberary and i didnot find it. last time when i contatct to projeqtor they told me this a problem about unzipping zip file and read only attribution file. i changed attribution to read-write and it works. but this time i have not parameterlocation .php
thanks


 
Posted : 17 May 2019 15H44
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

If it is a first install, it is normal, this file is not deplyed.
It is created on configuration.
For first install, best is to give write rights to whole propjeqtor folder for php user (www-data on linux/debian like)

If it is migration, this happens if you dont' follow migration procedure : you must overwrite existing code with new one, so parametersLocation.php still exists.


 
Posted : 17 May 2019 16H01
 Reza
(@rvasighi)
Posts: 12
Active Member
Topic starter
 

this is a first installation after installing my new operation system.
I changed all projeqtor folder from read only to read-write but i saw always the same message about access denied. in first configuration interface i must change anything? about user and password?
Actualy User :root
Pas: mysql


 
Posted : 17 May 2019 16H08
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Try without a password (this is default configuration of MySql on windows)


 
Posted : 17 May 2019 16H11
 Reza
(@rvasighi)
Posts: 12
Active Member
Topic starter
 

ok . but i use mac


 
Posted : 17 May 2019 16H13
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

whatever the os, try without password.
Otherwise, just use the password you defined on install for root user, or create dedicated user.


 
Posted : 17 May 2019 16H24
 Reza
(@rvasighi)
Posts: 12
Active Member
Topic starter
 

it works, without password, it's ridiculous!!
thanks for your help


 
Posted : 17 May 2019 16H28
Share:

Scroll to Top