[英]Issue with NetBeans and MySQL (granting access)
I'm attempting to setup a database in my Netbeans project, however for some reason I'm unable to give access to the root user account. 我试图在我的Netbeans项目中设置数据库,但是由于某些原因,我无法授予对root用户帐户的访问权限。 I'm following the tutorial seen here: https://netbeans.org/kb/docs/javaee/ecommerce/setup-dev-environ.html , which states I need to select root@localhost.
我正在关注这里看到的教程: https : //netbeans.org/kb/docs/javaee/ecommerce/setup-dev-environ.html ,其中指出我需要选择root @ localhost。 But as you can see I have no such option, despite having the user setup in MySQL.
但是,您可以看到,尽管在MySQL中进行了用户设置,但我没有这样的选择。
Any ideas? 有任何想法吗? I've restarted the server several times and disconnected/reconnected from within Netbeans.
我已经多次重启服务器,并从Netbeans中断开连接/重新连接。
You have to register the MySQL server in NetBeans first 您必须先在NetBeans中注册MySQL服务器
and 和
both taken from setup the dev environment 两者均来自设置开发环境
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.