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.

[FIX] Slow MySQL on Windows7

Featured Replies

Hello,

 

I've noticed that MySQL performance was really bad (i.e. took seconds to load simple page) after moving my website from 3rd-party hosting provider to my own server which was running on UniServer. First, I thought that MySQL was badly configured, so I've tried to tweak the config file (mostly upping allowed memory usage, etc.) after reading a few tutorials.

 

It didn't help and reinstalling UniServer to the most recent version didn't help either. Today, I've started measuring the php script execution time and I found out that the problem isn't caused by bad configuration or UniServer itself, but Windows 7's IPv6 issue.

 

Changing from "localhost" to "127.0.0.1" when connecting to MySQL (i.e. calling mysql_connect) solves the speed problem. Improving speed from ~1.23 sec to ~0.0073sec.

 

The problem is described in this post:

http://www.bluetopazgames.com/uncategorize...host-windows-7/

 

Why I'm posting this here? This issue is pretty common, but can be easily detected using a script, so I think that it would be great if UniServer could detect this issue after startup. :)

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.