DEV Community

Fidelis Solomon
Fidelis Solomon

Posted on

I started learning Laravel, about 5 days ago and I've hit a small bump

Hi, I'm a php developer with a few projects under my belt. I decided to build an ecommerce website, while learning Laravel, I've not gone very far and I've hit a small bump... I'd like some help in solving this small issue, If you guys don't mind.

I ran "php artisan migrate" on command prompt and i got this error "SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, report to the developers
(SQL: select * from information_schema.tables where table_schema = sleekfashion and table_name =
migrations)".

I use PHP 8.0.13 & MYSQL 8.0.23. I've tried several solutions that I've come across, If not all of them on stackoverflow and various programming communities.

I decided to try my luck here. Please if you come across this problem before, I'd really appreciate your help.

Simply tell me, how you solved the problem.

Thanks for you help, in anticipation.

Top comments (2)

Collapse
 
dennistobar profile image
Dennis Tobar

Hi, about the problem, seems to be from the mysql server, because it's sending a charset in the connection or database configuration that is not recognized by the client.

See this problem in other post, here in dev.to

Collapse
 
solzycode profile image
Fidelis Solomon

Thanks for your response, Dennis. I've resolved the issue.