简体   繁体   中英

Error “Not allowed to connect to this database” C# MySQL

I am getting an error that's something like "host is. It allowed to connect to this MySQL database" when I run my C# MySQL Connector/Net code to simply connect to the database. Anyone know how to fix this issue?

您需要手动允许IP通过数据库控制面板访问数据库,该面板可能位于托管服务的网站上。

通过管理面板手动允许您的IP。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM