Impossible de se connecter au serveur MySQL (Impossible to connect to mysql server)
Langue *(Language)*
![]) mysqli::real_connect(): (HY000/1045): Access denied for user 'username'@'localhost' (using password: YES)
I’m on nginx only and error logs seems empty for my domain (It exists but 0ko)
That’s super weird there is one thing I don’t understand, I created a new DB, it worked
But in my config.php on my website there is my db username and password (which I use to get all my products informations) if I change the password for a random one, products are not here anymore, If I put back the password, they are here again
I also have that for all my wordpress with wp-config.php I can’t use the password in my wp-config.php, otherwise it says access denied
Yes it was working well before, and I’m just doing a copy/paste of what there is in my config.php on my website which works well
I’m using hhheeestiiaaar_usernameoggivia (php my admin and command line doesn’t work even if I change the password) I’ll try with a simpler one maybe
EDIT: Oh okaaayy with just HereYourPassword it worked on command line AND php my admin so it seems my password was too complicated (though I used the auto generate password)
I can tellit since I’m not using it anymore: q/Faqc#jW7^!ax9n
❯ mariadb -uroot -e 'ALTER USER 'master_66934'@'localhost' IDENTIFIED BY "q/Faqc#jW7^!ax9n";FLUSH PRIVILEGES;'
❯ mariadb -umaster_66934 -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 10467
Server version: 11.4.7-MariaDB-deb12-log mariadb.org binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>