after that tessa said go in navicat open your connection add a user with ip % (wildcard) or better your website IP add user/password and with this information stored in PDO connection (that i suggest) your site will be able to connect to your database, then you have to add priviledges to the user of what he will use