LMSouq
database Open

Mysql adding user for remote access

US
user2333586
1 month ago
3 views
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

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base