Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

shield8994
shield8994

Posted on

     

XAMPP Alternative in Mac for Mysql

For a very long time, I have been usingXAMPP as my local environment to create applications. XAMPP uses MariaDB which is almost similar to MySQL but here is the catch,almost.

The development team of MariaDB is very aggressive and has been constantly releasing new versions. However, there isn't much difference between the new versions. Instead, a lot of bugs have been introduced. I have experienced the situation where the database stopped working after an update.

So I have been looking for a solution to use MySQL inXAMPP but as I have found that, it is not difficult to do in Windows machines, but haven’t found any resource to make it work in Mac.

ServBay

I came across ServBay and wanted to give it a try. It’s most promising feature that I love is that I am in control of creating my owndev environment based on the tools and versions in my live server.

It's a gem of a product, but the problem was that, it hasn't been mentioned much by people as I've noticed on the Internet. Long story short, I have finally done it. In the next section, I shall describe step by step how you can work with ServBay too.

Installing ServBay in Mac

  • The very fast thing you should do is that you download and install ServBay from theirwebsite. The minimum system requirements must be macOS 12.0 Monterey or higher.
  • Double-click the downloaded.dmg file.
  • In the pop-up window, drag theServBay.app icon into the Applications folder. All the steps are the same as installing ordinary Mac programs, and no code compilation is required.

Image description

  • For the first-time use, ServBay requires initialization. Open ServBay inApplications ensuring ports are not occupied.

Image description

  • In the pop-up window, select the package and version you wish to install, then click OK
  • Once you see this page, it means you have installed ServBay successfully.

Image description

How to Use ServBay's Built-In MySQL Module

If you want to use it, come to the "Services" on the left

Image description

Select MySQL, and choose the version you want to install.

Image description

Waiting for a few seconds, and done.

Image description

Great job! That's very easy!

Image description

MySQL does not require configuration in ServBay. Of course, if you need deeper configuration, you can purchase the Pro version to unlock those features. However, ServBay is very thoughtful; for me, the default parameters in the free version are already sufficient for my daily development needs, and I don't need to make any changes.

ServBay provides a convenient way to manage and enable the MySQL module. With simple configuration and restart operations, developers can quickly enable the MySQL module.

With ServBay, I can also switch different versions of MySQL smoothly. Personally, ServBay is the best alternative for XAMPP in mac!

Top comments(2)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss
CollapseExpand
 
makscraft profile image
Maksim Zaikov
Full stack web developer since 2010. During the work created PHP framework MV, now it's available for everyone as an open source project.
  • Location
    Budva, Montenegro
  • Work
    Fullstack Developer
  • Joined

Looks good! Lets try it.

CollapseExpand
 
shield8994 profile image
shield8994
node.js pro
  • Joined

It's worth trying.

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

node.js pro
  • Joined

More fromshield8994

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp