Do I need to enable Remote Database Access?

南楼画角 提交于 2019-12-25 05:15:03

问题


I'm building an application which automatically updates an online MySQL database with results from a local computer.

I plan to run the following command

C:>mysqldump -uUSER -pPASSWORD DATABASE > database.sql
C:>mysql -hHOST -pPORT -uUSER -pPASSWORD DATABASE < database.sql

Would doing this require me to add my IP address to the Remote Database Access Hosts section of my cpanel?


回答1:


you need to enable remote access to your mysql database server:enable remote access



来源:https://stackoverflow.com/questions/10900107/do-i-need-to-enable-remote-database-access

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!