I created a PHP script on my local machine and created database connection from remote server. It is working fine on my localhost. But when I upload that script on server, script is unable to connect with server.
Codebase server and MySQL server are different but on same LAN. I am getting below error:
Warning: mysqli_connect(): (HY000/2002): Permission denied
Try to do this:
%
(any host) (see manual for details)