mysqli_real_connect() error after windows update
Posted by: softlapt (---.243.65.141.dynamic.ttnet.com.tr)
Date: August 14, 2024 12:34PM

After the windows update today, I am getting an error when opening mysql. These are the update codes. (KB5042099 and KB5041585) This is the SQL error we get. "mysqli::real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO). We are experiencing the same problem on multiple computers

Options: ReplyQuote
Re: mysqli_real_connect() error after windows update
Posted by: Otomatic (Moderator)
Date: August 14, 2024 02:57PM

Both Windows updates KB5042099 and KB5041585 are installed on my system and I can connect to PhpMyAdmin 5.2.1 under MySQL 9.0.1 and PHP 8.3.10 with the root user without a password and without any error message.

Similarly, connecting with a root user with a password created via the MySQL console poses no problem.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: mysqli_real_connect() error after windows update
Posted by: softlapt (---.243.65.141.dynamic.ttnet.com.tr)
Date: August 14, 2024 04:55PM

We solved the problem by redoing the updates, deleting and reinstalling wampserver.If we hadn't taken a backup the other day it would have been a problem for us.

Options: ReplyQuote


Sorry, only registered users may post in this forum.