Mysql Server Download Mac

  1. Mysql Server Download For Mac Os X
  2. Mac Install Mysql
  3. Download Mysql Server For Mac Os
  4. Mysql Server Download Mac 10

XAMPP is a software package which is a bundle of apache, mysql and ftp package. You always need to use it when you develop php + mysql application. It is easy to use on Windows, but when i use it on Mac OS, i meet some errors, this article will tell you how to install, start, stop XAMPP on Mac OS and fix all these errors.

1. How To Install, Start, Stop XAMPP On Mac OS.

Mac

First you should download the XAMPP installer for Mac OS. If you find the XAMPP official website https://www.apachefriends.org/ can not be accessed, you can search keyword XAMPP in https://sourceforge.net. and download it there.

After download XAMPP mac os version, double click it to install it. After install, you can start it by click XAMPP icon in finder /Applications folder.

Jul 11, 2019  MySQL, the industry-leading open-source SQL database, is an accessible, easy-to-use relational database management system (RDBMS).As an alternative to Oracle and SQL server, MySQL offers features and capabilities that were once only available to users of expensive proprietary systems.

After click XAMPP icon, it will display below popup window. Click Start button to start both apache, mysql and ftp server as service. Click Stop button to stop it.

After click Start button, you can see the server status and server IP Address at the top area of above window. Please remember the ip address. The server is running in an embed linux server, and the server ip is just the ip address.

Click the Go to Application button will show you the XAMPP dashboard in a popup web browser. Click the Open Terminal button will open a terminal and login to the embedded linux server with root user.

If you want to know where the XAMPP files is installed, you can click the Volumes tab in above XAMPP manager window, then click the Mount button to mount the /opt/lampp directory on XAMPP linux server to local Mac OS, then click Explore button to open XAMPP install folder in popup local Mac finder window. You can copy your WordPress website source files into the htdocs folder to browse it in web browser.

2.How To Fix Can Not Access XAMPP Apache Dashboard Use Localhost Error.

In past, after start XAMPP, we usually access it’s dashboard web page use url http://localhost/dashboard/. But when i use this url, it can not open the page. This is because we are not running web browser in XAMPP embed linux server, we access it in Mac OS.

To access XAMPP apache dashboard, you should use the XAMPP embed Linux server’s ip to replace localhost like this, http://192.168.64.2/dashboard/.

3.How To Fix Can Not Connect To MySQL Server With Root User Error.

Mysql Server Download For Mac Os X

Mysql

Mac Install Mysql

To manage the XAMPP MySQL server, you can use MySQL workbench. If you use root user with empty password ( the root user’s password is empty by default ), it will popup error message Failed to Connect to MySQL at 127.0.0.1:3306 with user root. This error is because the MySQL server’s Hostname is wrong, the MySQL server Hostname should be the running XAMPP server’s ip address, which is 192.168.64.2 in this example.

But when you use XAMPP linux server’s ip 192.168.64.2 as the Hostname and use root user with empty password, it will popup another error dialog which said Failed to Connect to MySQL at 192.168.64.2:3306 with user root, Access denied for user ‘root’@’192.168.64.1’ (using password: NO). You can read article How To Resolve Access Denied For User ‘root’@’localhost’ (using Password: Yes) When Connect MySQL Database to fix this, but we had also list the short steps about how to fix it as below.

To fix this error, you should click the Open Terminal button in XAMPP manager window, then follow below steps to resolve it.

Download Mysql Server For Mac Os

Mysql server download for windows

Mysql Server Download Mac 10

  1. Connect to mysql server in command line with root user, the default root user’s password is empty.
  2. Select all host and user name from mysql.user table use select sql command like below. We can see that the root user can only connect to the embedded mysql server on localhost, and the localhost is the XAMPP linux server, but MySQL workbench is running on the Mac OS. So you should grant root user access permission to the MySQL server from any machine with ‘%’ as the host value.
  3. But generally, allow root user access MySQL server from any machine is not safety, so we had better create another MySQL user account and make it to connect to MySQL server from any machine remotely.
  4. Create a new MySQL server user account with provided username and password use MySQL CREATE USER command. Please note @’%’ means jerry can connect to MySQL server remotely from any machine.
  5. Grant all privileges to user account ‘jerry’@’%’.
  6. Now use above newly created user account to connect to MySQL server. Please note the Hostname should be the MySQL server ip address ( displayed in XAMPP manager window top area ).
  7. When you connect to MySQL server successfully, you will get below successful message dialog.