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 - Cannot stop MYSQL server from IDE
Summary: Cannot stop MYSQL server from IDE
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 7.4
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: NO74
Depends on:
Blocks:
 
Reported: 2013-08-27 08:47 UTC by Tomas Danek
Modified: 2014-01-08 13:09 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.