Problem Description
I created user `user@'%'` with `password 'password`. But I can not connect with:
mysql_connect('localhost:3306', 'user', 'password');
When I created user `user@'localhost'`, I was able to connect. Why? Doesn't '%' mean from ANY host?
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?