im getting this error when im trying to connect to the database in my wordpress site ?
i set my wp_debug to ture then this message showed up
i found some info about this topic but it wasn’t like my issue – and i didn’t get a satisfying answers
Erorr
mysqli_real_connect(): (HY000/1045): Access denied for user 'admin'@'localhost' (using password: YES)
In line 1635
in F:folderlocation**wp-db.php on line 1635 if ( WP_DEBUG ) { mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
Full Error Alert Message
**Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'admin'@'localhost' (using password: YES) in F:folderlocation**wp-db.php on line 1635**
im using
- xampp v3.2.4
- i’m not that good with sql
- server localhost – apache port 80
Please if you have any idea how to fix this tell me or link me to a topic that can help me but before you link me anything make sure that topic is for wordpress not for any other application thanks
Error establishing a database connection
Answer
Thanks for everyone who replied for snily i found the answer after when i type an ip address or localhost in the privileges tap it gives this error for some reason
i just added “” % “” = for all hosts and now it’s all seems to work just fine