Jump to content
The Uniform Server Community

Unable to perform clean shutdown - MySQL after bind-address = ::1


hedgehog90
 Share

Recommended Posts

My $_SERVER["REMOTE_ADDR"] = ::1, unless I change the bind-address in my.ini to match it, when I connect to my database (with PDO) with the hostname 'localhost' it takes ~2 seconds.

When I change bind-address to '::1' or '::', the time to connect with mysql becomes negligible.

However, when I try to 'stop MySQL', it hangs and eventually I get this error and I have to kill the process.

 

It appears my.ini doesn't handle ipv6 addresses well. Is there any way to fix this? if not, please fix this in a later build.

 

I loves this software, I've struggled with XAMPP and WAMP in the past, but this is far superior IMO.

Link to comment
Share on other sites

  • 2 weeks later...

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...