Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Command prompt window opens and stays open when starting mysql

Featured Replies

When I start mysql , the command prompt window opens and stays open for over 5 minutes.

I do not believe this to be expected behaviour. Is there a way to make the command prompt window for mysql go away.

This behaviour happens on the first run of Uniform Server on the windows user when mysql is enabled. If run a second time on the windows user, or if Uniform Server is restarted, the behaviour doesn't happen.

Yes... it does that doesn't it..

With the launch of MySQL8, the Console window appears even when we tell it not to via launch code. So we are detecting the launch and then hiding the window. However, if it takes more than 5 seconds to launch which happens during the first run as it needs to set up the required data files, the window does not get hidden.

Will look for a way to prevent that happening as well. Thanks for bringing it to our notice.

Best Regards,

  • Author

Also when I close the window myself, mysql stops and fails to run.

Is there a way to close the window and still have mysql work?

  • Author

Another thing I notice is that the coloured square for mysql turns green automatically when clicked, even when mysql is loading.

There should be a different colour to distinguish between loading and loaded.

I believe this wasn't an issue in previous versions, and it's related to the long mysql loading time.

On 12/11/2020 at 1:48 AM, desbest said:

Also when I close the window myself, mysql stops and fails to run.

Is there a way to close the window and still have mysql work?

Actually... if MySQL window opens and you close it, you are effectively shutting down the MySQL server. This was built into MySQL 8. 

On 12/14/2020 at 1:35 AM, desbest said:

Another thing I notice is that the coloured square for mysql turns green automatically when clicked, even when mysql is loading.

There should be a different colour to distinguish between loading and loaded.

I believe this wasn't an issue in previous versions, and it's related to the long mysql loading time.

If MySQL does not load this would change back to red. But I get what you are saying.. I am a little tight on development time right now. So will be taking inputs at this time and look into implementing into the next version.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.