Bug #94453 Startup / Shutdown does not work
Submitted: 23 Feb 2019 9:41 Modified: 17 Apr 2019 16:17
Reporter: Patrick Boers Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S7 (Test Cases)
Version:8.0.15 OS:Windows (Microsoft Windows 10 Pro)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[23 Feb 2019 9:41] Patrick Boers
Description:

2019-02-23 10:39:08 - Workbench will use cmd shell commands to start/stop this instance
2019-02-23 10:39:08 - Server is running
2019-02-23 10:39:21 - Server stop done.
2019-02-23 10:39:21 - Checking server status...
2019-02-23 10:39:21 - MySQL server is currently running
2019-02-23 10:39:21 - Checking server status...
2019-02-23 10:39:21 - MySQL server is currently running

I only can start/stop my server using services.msc

wb.log.

10:32:19 [ERR][      Workbench]: Console redirection failed.
10:32:19 [INF][      Workbench]: Starting up Workbench
10:32:19 [INF][      Workbench]: Current environment:
	Command line: "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\MySQLWorkbench.exe" 
	CurrentDirectory: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.2.9200.0
	SystemDirectory: C:\Windows\system32
	TickCount: 182388312
	UserInteractive: True
	Version: 4.0.30319.42000
	WorkingSet: 43069440
10:32:19 [INF][      Workbench]: Environment variables:
	COMPUTERNAME = DESKTOP-5G1L6R1
	USERPROFILE = C:\Users\PatrickBoers
	HOMEPATH = \Users\PatrickBoers
	LOCALAPPDATA = C:\Users\PatrickBoers\AppData\Local
	PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
	PROCESSOR_ARCHITECTURE = AMD64
	Path = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\PatrickBoers\AppData\Local\Microsoft\WindowsApps;
	CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
	ProgramFiles(x86) = C:\Program Files (x86)
	PROCESSOR_LEVEL = 6
	LOGONSERVER = \\DESKTOP-5G1L6R1
	PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
	HOMEDRIVE = C:
	SystemRoot = C:\Windows
	SESSIONNAME = Console
	ALLUSERSPROFILE = C:\ProgramData
	DriverData = C:\Windows\System32\Drivers\DriverData
	FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
	APPDATA = C:\Users\PatrickBoers\AppData\Roaming
	OneDriveCommercial = D:\OneDrive - Compressed Air Data Services
	USERNAME = PatrickBoers
	CommonProgramW6432 = C:\Program Files\Common Files
	TEMP = C:\Users\PATRIC~1\AppData\Local\Temp
	OneDrive = D:\OneDrive - Compressed Air Data Services
	CommonProgramFiles = C:\Program Files\Common Files
	OS = Windows_NT
	USERDOMAIN_ROAMINGPROFILE = AzureAD
	PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
	ComSpec = C:\Windows\system32\cmd.exe
	USERDOMAIN = AzureAD
	SystemDrive = C:
	FPS_BROWSER_USER_PROFILE_STRING = Default
	LIBJABRA_TRACE_LEVEL = debug
	ProgramFiles = C:\Program Files
	NUMBER_OF_PROCESSORS = 4
	TMP = C:\Users\PATRIC~1\AppData\Local\Temp
	ProgramData = C:\ProgramData
	ProgramW6432 = C:\Program Files
	windir = C:\Windows
	PROCESSOR_REVISION = 4e03
	PUBLIC = C:\Users\Public
10:32:19 [INF][      Workbench]: Current version given by meta info is: 8.0.15
10:32:19 [INF][      Workbench]: Setting PATH to: C:\Windows\system32;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\PatrickBoers\AppData\Local\Microsoft\WindowsApps;
10:32:19 [INF][ mforms managed]: Initializing mforms wrapper
10:32:19 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	plugin path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	struct path: 
	module path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE/modules
	library path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	user data dir: C:\Users\PatrickBoers\AppData\Roaming\MySQL\Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
10:32:19 [INF][      WBContext]: WbContext::init
10:32:20 [INF][            WBA]: Looking for extension modules for WBA...
10:32:20 [INF][            WBA]: 0 extension modules found
10:32:20 [WRN][            grt]: C:\Program Files\MySQL\MySQL Workbench 8.0 CE\modules/data/mysql_rdbms_info.xml:1446: link 'om.mysql.rdbms.mysql.driver.native_sshtun' <object > key=owner could not be resolved
10:32:20 [WRN][            grt]: C:\Users\PatrickBoers\AppData\Roaming\MySQL\Workbench\connections.xml:26: link '{8BFDCFC0-C149-4197-930E-F69E81A40C1B}' <object GrtObject> key=owner could not be resolved
10:32:20 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Windows version 8.0.15 CE build 14271522 (64 bit)
	Configuration Directory: C:\Users\PatrickBoers\AppData\Roaming\MySQL\Workbench
	Data Directory: C:\Program Files\MySQL\MySQL Workbench 8.0 CE
	Cairo Version: 1.10.2
	OS: Microsoft Windows 10 Pro
	CPU: 4x Intel(R) Core(TM) i7-6650U CPU @ 2.20GHz, 7.9 GiB RAM
	Active video adapter Intel(R) Iris(R) Graphics 540
	Installed video RAM: 1024 MB
	Current video mode: 2736 x 1824 x 4294967296 colors
	Used bit depth: 32
	Driver version: 24.20.100.6299
	Installed display drivers: C:\Windows\System32\DriverStore\FileRepository\64gh6299.inf_amd64_94401bd29769cd59\igdumdim64.dll,C:\Windows\System32\DriverStore\FileRepository\64gh6299.inf_amd64_94401bd29769cd59\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\64gh6299.inf_amd64_94401bd29769cd59\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\64gh6299.inf_amd64_94401bd29769cd59\igd12umd64.dll
	Current user language: English (Netherlands)

10:32:20 [INF][      Workbench]: UI is up
10:32:20 [INF][      Workbench]: Running the application
10:32:26 [ERR][  GRTDispatcher]: exception in grt execute_task, continuing: Exception: Access denied for user 'root'@'localhost' (using password: NO)
10:32:26 [ERR][  GRTDispatcher]: worker: task 'execute sql queries' has failed with error:.Access denied for user 'root'@'localhost' (using password: NO)
10:32:39 [INF][SQL Editor Form]: Opened connection 'Compressed Air Data (local)' to MySQL Community Server - GPL version 8.0.15
10:32:39 [INF][        WQE.net]: Launching SQL IDE
10:32:40 [INF][        WQE.net]: SQL IDE UI is ready
10:39:08 [INF][wb_admin_control.py:query_server_installation_info:860]: Currently connected to MySQL server version '8.0.15', conn status = True, active plugins = ['INNODB_INDEXES', 'sha256_password', 'INNODB_CMPMEM_RESET', 'INNODB_BUFFER_POOL_STATS', 'CSV', 'mysql_native_password', 'INNODB_FT_BEING_DELETED', 'INNODB_BUFFER_PAGE', 'INNODB_CMP_PER_INDEX_RESET', 'INNODB_TABLESTATS', 'ARCHIVE', 'INNODB_FT_INDEX_CACHE', 'INNODB_CMP', 'INNODB_FT_CONFIG', 'InnoDB', 'INNODB_FT_DEFAULT_STOPWORD', 'INNODB_TRX', 'binlog', 'INNODB_TABLES', 'INNODB_COLUMNS', 'INNODB_CMPMEM', 'INNODB_FT_INDEX_TABLE', 'sha2_cache_cleaner', 'MEMORY', 'PERFORMANCE_SCHEMA', 'BLACKHOLE', 'caching_sha2_password', 'INNODB_SESSION_TEMP_TABLESPACES', 'INNODB_CACHED_INDEXES', 'TempTable', 'INNODB_VIRTUAL', 'MRG_MYISAM', 'INNODB_CMP_PER_INDEX', 'INNODB_FT_DELETED', 'mysqlx_cache_cleaner', 'INNODB_TABLESPACES', 'INNODB_METRICS', 'mysqlx', 'MyISAM', 'INNODB_TEMP_TABLE_INFO', 'INNODB_CMP_RESET', 'ngram', 'INNODB_BUFFER_PAGE_LRU']
10:39:14 [INF][wb_log_reader.py:__init__:389]: Will use plain file access to get contents of log file E:\MySQL\MySQL Server 8.0\Data\DESKTOP-5G1L6R1.err

How to repeat:
Stop server using MySQLWorkbench under the administration
[17 Apr 2019 16:17] MySQL Verification Team
Thank you for the bug report. I couldn't repeat on Windows 10 Pro. Below log:

2019-04-17 13:15:02 - Workbench will use cmd shell commands to start/stop this instance

FROM URAL.err:
    2019-04-17T16:15:07  0  System] [MY-013105] [Server  C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Normal shutdown.
    2019-04-17T16:15:09  0  Warning] [MY-010909] [Server  C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Forcing close of thread 32  user: 'root'.
    2019-04-17T16:15:09  0  Warning] [MY-010909] [Server  C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Forcing close of thread 31  user: 'root'.
    2019-04-17T16:15:10  0  System] [MY-010910] [Server  C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 8.0.15)  MySQL Community Server - GPL.
2019-04-17 13:15:15 - Server stop done.
2019-04-17 13:15:17 - Checking server status...
2019-04-17 13:15:17 - MySQL server is currently running
2019-04-17 13:15:17 - Trying to connect to MySQL...
2019-04-17 13:15:17 - Can't connect to MySQL server on 'localhost' (10061) (2003)
2019-04-17 13:15:17 - Assuming server is not running
2019-04-17 13:15:17 - Checking server status...
2019-04-17 13:15:17 - Trying to connect to MySQL...
2019-04-17 13:15:17 - Can't connect to MySQL server on 'localhost' (10061) (2003)
2019-04-17 13:15:17 - Assuming server is not running
2019-04-17 13:15:18 - Starting server...

FROM URAL.err:
    2019-04-17T16:15:20  0  Warning] [MY-010915] [Server  'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
    2019-04-17T16:15:20  0  System] [MY-010116] [Server  C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.15) starting as process 17940
    2019-04-17T16:15:23  0  Warning] [MY-010068] [Server  CA certificate ca.pem is self signed.
    2019-04-17T16:15:23  0  System] [MY-010931] [Server  C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: ready for connections. Version: '8.0.15'  socket: ''  port: 3306  MySQL Community Server - GPL.
    2019-04-17T16:15:24  0  System] [MY-011323] [Server  X Plugin ready for connections. Bind-address: '::' port: 33060
2019-04-17 13:15:24 - Server start done.
2019-04-17 13:15:24 - Checking server status...
2019-04-17 13:15:24 - Trying to connect to MySQL...
2019-04-17 13:15:24 - Connection succeeded
2019-04-17 13:15:24 - Assuming server is running
2019-04-17 13:15:24 - Checking server status...
2019-04-17 13:15:24 - Trying to connect to MySQL...
2019-04-17 13:15:24 - Connection succeeded
2019-04-17 13:15:24 - Assuming server is running