Newcomer1989 / TSN-Ranksystem

A PHP Bot that assigns time based server groups on TeamSpeak3.
https://ts-ranksystem.com
GNU General Public License v3.0
144 stars 60 forks source link

xampp connection error #577

Closed Drmohammad11 closed 5 years ago

Drmohammad11 commented 5 years ago

Failed to connect to database: SQLSTATE[HY000] [1045] Access denied for user 'rankuser'@'localhost' (using password: YES)

Newcomer1989 commented 5 years ago

How can we help you with this?

It says, the connection details of your database are wrong.

Please check the entered credentials during the installation process.

htm1994 commented 5 years ago

Hi I install xampp 5.6 and i going install tsn rank system. when click install database show this error: Failed to connect to database: SQLSTATE[HY000] [1045] Access denied for user 'rankuser'@'localhost' (using password: YES) check this file xampp/phpmyadmin/bin/config.php.ini Password is empty but show this error plz help me.

Newcomer1989 commented 5 years ago

You added a DB user named "rankuser" and set this as "localhost"?

Then you should give them a passwort due creation. example: create user 'rankuser'@'localhost' identified by 'your_password_here';



Failed to connect to database: SQLSTATE[HY000] [1045] Access denied for user 'rankuser'@'localhost' (using password: YES)

That message says, your user has a password, but that one you typed in is wrong.

If you still need help, please try to google this error. It isn't a problem with the Ranksystem. That error would also appear with each other script. This is a problem due creation the database user or inserting the credentials due installation.

htm1994 commented 5 years ago

Hi after copy rank system file in xampp in address bar example.com/install.php then open install page and I should write dbname, dbuser. dbpassword, host address & select dbtype then click install data base but show error : Failed to connect to database: SQLSTATE[HY000] [1045] Access denied for user 'rankuser'@'localhost' (using password: YES)

search in google but not fund awnser for problem. just find this way: edite this file: check this file xampp/phpmyadmin/bin/config.php.ini

Newcomer1989 commented 5 years ago

search in google but not fund awnser for problem.

guys, really?

https://stackoverflow.com/questions/31154124/sqlstatehy000-1045-access-denied-for-user-usernamelocalhost-using-cakep

https://www.ostraining.com/blog/coding/error-1045-phpmyadmin/

Took me 2 mins of search on google.

This is an absolute basic administration thing. We can't help here anymore. The basics to install and administrate a database is necessary for this Bot.

htm1994 commented 5 years ago

tank you I Find different link in google but i can not change password. this link help me: https://www.ostraining.com/blog/coding/error-1045-phpmyadmin/

tank you friend tank you.