I have a question.
I'm able to connect and access to by database if I used mysql_connect("localhost") but I cannot access my database if I put mysql_connect("220.127.116.11") instead. (Assuming that was my IP.
The error i got was:
Access denied for user: '@18.104.22.168' to database 'db1'
I wanna know how I can configure my MySQL settings so that I can (1)define a username and password - I'm new to MySQL.
(2) Restrict/Allow access to MySQL server by IP. The user and password thing is more important. Please help. Thanks.