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.

Bug 235073

Summary: Cannot stop MYSQL server from IDE
Product: db Reporter: Tomas Danek <musilt2>
Component: MySQLAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: ssazonov
Priority: P1 Keywords: NO74
Version: 7.4   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:

Description Tomas Danek 2013-08-27 08:47:39 UTC
Product Version: NetBeans IDE Dev (Build 201308261123)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b42
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\hudson\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\hudson\AppData\Local\NetBeans\Cache\dev
----------------------
- install mysql server, all default
- start IDE, MYSQL server is recognised, fill in to properties root password, check to remember password
- invoke "start" on mysql server, server is started, DBs can be acessed
- invoke "stop" on server, server is not stopped:

C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqladmin.exe: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

from properties, by default should be called:
C:/Program Files/MySQL/MySQL Server 5.6/bin/mysqladmin.exe -u root shutdown

this should ideally prompt for user password..
Comment 1 Tomas Danek 2013-08-27 12:45:39 UTC
Not for NetBeans 7.4, but putting as P2 to keep on radar for NB 8.0
Comment 2 Libor Fischmeistr 2013-08-27 14:26:50 UTC
Thanks Tomas for the report.

As we talked, just the recapitulation. The MySQL server will stop properly if it is started from IDE properly - I mean if there were no running instance of MySQL running before. Also there is mismatch: When MySQL is already running but in IDE it's disconnected in menu still appears Start option (is enabled) and conversely.

This all has to be fixed.