Connection error
Posted by: poly (31.153.38.---)
Date: March 16, 2019 09:06AM

Hello, I have problem with wamp. I changed mysql port and i can connect to phpmyadmin, but when i try to connect my .php flile for connection in ,my database, for my website it shows this "Connection failed : SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client
error." Please help

Options: ReplyQuote
Re: Connection error
Posted by: Otomatic (Moderator)
Date: March 16, 2019 10:37AM

Hi,

If you change default MySQL port, you must put the port number in the connect process (It is automatically done for PhpMyAdmin)
Why did you change the port number ?

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.