I am new to PHP and I am developing for my website. I will have MySQL to run the databases server side and I would like to test my PHP code locally. Is it possible or would it just be easier to upload all of the code and test it from the website?
Share
It is possible, but your MySQL users must have permission to log in remotely (i.e. are
user@'%'style entries), and the server must be externally accessible through any routing and firewalls. For most online installs, this is quite unlikely since it poses a potential security issue.As in the comments, just install MySQL locally to test with.