This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Install NetBeans with bundled MySQL. 2. Start MySQL. 3. Stop MySQL. Result: Message "C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqladmin.exe: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: NO)'" appears in Output window and MySQL server isn't stopped. If user is able to start MySQL server without any additional actions, then it should be possible to stop in the similar way.
Hi, Dmitry, I am just using the properties you set, so perhaps we need to change the properties or the stop MySQL script? I'm not sure what component to assign this to...
Roman, could you please describe the steps to reproduce the issue? What was the installation in details? Was the installation proceeded with all default values or have you change something? Did you set the password or left it empty (default)? could you please post the whole output on MySQL server start? and the same for stop, please? And, please, attach your <netbeans>/etc/netbeans.conf file and the corresponding installation log (from ~/.nbi/log/). thanks, Dmitry
BTW, we (installer) do not pass the path to mysqladmin.exe - so you Roman likely configured it himself. I`ve installed the latest NetBeans/MySQL installer (200809101401) and set non-empty password during installation. By design, the MySQL is started during the installer work. When I launched NetBeans, IDE could not determine that (not a suprise since the default empty password is used in the IDE). What I tryied to start MySQL the error message (see next attachement) was shown. The output is the following and I would say that it is expected. > The requested service has already been started. > > More help is available by typing NET HELPMSG 2182.
Created attachment 69747 [details] Message shown on MySQL server start
Yes, I see the same message and behavior it also the same. When I installed NetBeans with bundled MySQL, I set non-empty password. But I think I had this issue because I run NetBeans built from trunk and MySQL server was added to it automatically with settings for bundled MySQL. I installed now NetBeans with bundled MySQL and start installed NetBeans (but not built from trunk) and everything is fine now. I see the same message as you and I see "C:\WINDOWS\system32\net.exe" with different arguments for starting and stopping of MySQL server on Windows.
Verified with build 080911.