How to Install Multiple MySQL Servers on a Windows Machine - MySQL DBA Tutorial

How to Install Multiple MySQL Servers on Windows Machine


demo explains the limitations that we can't install the MySQL multiple Servers on same machine by using MySQL Installer. Below are the steps you have to perform to install another MySQL server on windows machine on which you already have installed MySQL.


  1. Create a new folder on C drive, let's say MYSQLDEV
  2. Copy all the folders from c:\programfile\MySQL\ MySQL Server XX to MYSQLDEV
  3. Search for my.ini in %PROGRAMDATA%\MySQL and copy to MYSQLDEV and also copy Data directory
  4. Change the port for [client] and [mysqlid] in mysqldev.ini file, I have updated to 3307
  5. 5Change the basedir and datadir location to new location
  6. Execute mysqld --install MYSQLDEV --defaults-file="c:/MYSQLDEV/mysqldev.ini"
  7. Start the services net start MYSQLDEV
  8. Connect to MySQL mysql -u root --Port=3307
  9. Run show variables where variable_name in ('hostname','port');
  10. Change the root password if you need to for newly installed MySQL service by using     ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass';


How to install multiple MySQL Servers on single Windows Machine

29 comments:

  1. hi, how to solve the error after run the net start MYSQLQA.
    The error is:
    The service did not report an error. More help is available by typing NET HELPMSG 3534.

    ReplyDelete
    Replies
    1. Your article and tips are incredibly interesting, are helping me a lot. It's very informative. Thanks for the detailed info on this topic. It’s hard to find nowadays to know about the basics but you did it so much well. I would love to see more about FMWhatsapp 2022. Keep sharing and updated. Also share more posts with us. Thank you.

      Delete
    2. Your post is helping me a lot. Its really nice and epic. Thanks a lot for the useful info on this topic. You did it so much well. I love to see more about GBWhatsApp 2022. Keep sharing and updating. Also share more posts with us. Thank you.

      Delete
  2. It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. unmetered dedicated servers

    ReplyDelete
  3. hi, how to solve the error after run the net start MYSQLQA.
    The error is:
    The service did not report an error. More help is available by typing NET HELPMSG 3534.

    ReplyDelete
  4. Got this error. instal/remove of the Service denied!
    when running this command
    mysqld --install MYSQLDEV --defaults-file="c:/MYSQLDEV/mysqldev.ini"

    please help

    ReplyDelete
    Replies
    1. open command with admin and change directory to bin folder and do these command again

      Delete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. That setting makes it easy for me to use multiple nicks to login yo whatsapp, gb whatsapp, whatsapp plus,.... on YoWAPlus home page

    ReplyDelete
  8. if you are in search of best modified version of Instagram to optimize and customize reels with better features then check this out instagold

    ReplyDelete

  9. Installing multiple MySQL servers on a Windows machine can be useful for various purposes such as testing, development, or running different versions of MySQL concurrently. Ensure that each MySQL Server instance uses a unique port number to avoid conflicts.
    Allocate sufficient gbwhatsapfree  resources (CPU, memory, disk space) for each MySQL Server instance to ensure optimal performance.
    Be mindful of potential security implications when running multiple MySQL Server instances on the same machine.

    ReplyDelete
  10. Click the Following Website and step into the realm of luxury messaging with Gold WhatsApp. Experience the opulence of exclusive golden themes, premium customization options, and unparalleled elegance in every chat. Elevate your communication game with Gold WhatsApp today!

    ReplyDelete
  11. Looking to give your phone a new look? Must download mb whatsapp iphone today!

    ReplyDelete
  12. Chat GPT App Login, an AI chatbot by OpenAI, excels at conversation. It can answer questions, create stories, and even translate languages, all in a natural and engaging way. While still under development, it offers a glimpse into the future of AI communication.

    ReplyDelete
  13. Whatsapp MB provides a modified experience with extra features like custom themes and enhanced privacy controls. Enjoy more flexibility while maintaining all the core functions of WhatsApp.




    ReplyDelete
  14. Download the Crunchyroll Mod APK to explore anime like never before! Watch your favorite series ad-free, enjoy premium content, and download episodes to watch offline. This version is perfect for dedicated anime lovers looking for a seamless streaming experience. Visit https://crunchyrollapkdl.com.

    ReplyDelete
  15. er whatsApp is a modified version of WhatsApp that offers enhanced privacy settings, custom themes, and additional messaging features. Installing multiple MySQL servers on a Windows machine requires setting up different instances with unique configurations.

    ReplyDelete
  16. FMWhatsApp is a modified version of WhatsApp that offers extra features like custom themes, advanced privacy options, and larger file-sharing limits. However, it is unofficial and may pose security risks or result in account bans.

    ReplyDelete
  17. Installing multiple MySQL servers on a Windows machine requires configuring separate instances with unique port numbers and data directories. While setting up, you can use GbWhatsApp APK to stay connected and get real-time assistance from developer communities. Proper configuration ensures smooth performance and avoids conflicts between multiple MySQL instances.







    ReplyDelete
  18. LoL Skins APK is a third-party app that lets League of Legends players use custom skins to personalize champions, potentially violating Riot Games' terms. Visit this site for more details: lol skin

    ReplyDelete
  19. Want to refresh your phone’s look? Download Redz Hub Script
    today!

    ReplyDelete
  20. Free Fire Advanced Server is an exclusive test server where players can try new features before release. Access requires an activation code, and players help improve the game by reporting bugs and giving feedback. Visit this site for more details: free fire Advance server download

    ReplyDelete
  21. GBWhatsApp is one of the most popular WhatsApp modifications, offering enhanced features like dual account support, advanced privacy controls, and unlimited theme customization. Unlike the standard WhatsApp, GBWhatsApp allows users to send larger media files, hide blue ticks, and schedule messages. It also includes an anti-ban feature to prevent account suspensions. Since GBWhatsApp is not available on official app stores, it must be downloaded from a secure source. Always use the latest version to benefit from security updates and new features. Enjoy a more flexible and personalized messaging experience with GBWhatsApp.

    ReplyDelete