Firstly security, but also there are tools built for that purpose such as PHPMyAdmin. Generally people shouldn't be manually doing things with the database anyway, but if this is something you need to do for some reason, you should really use the correct tools, which would lay with your hosting.