Home > Database > Mysql Tutorial > Introduction to VMware Fusion virtual machine software

Introduction to VMware Fusion virtual machine software

零下一度
Release: 2017-06-29 11:10:23
Original
1980 people have browsed it

I have been messing with the Mac system recently. I was not very familiar with using Mac, so there were many problems during the installation process. For the convenience of future reference, and of course to prevent newbies like me from stepping into some pitfalls,

, so I will record these issues.

First let’s talk about the virtual machine software VMware Fusion. I downloaded the latest official version 8.5.7. Then start the installation, which is relatively easy. The most troublesome thing is how to install the WIn10 system? At first, I took a step-by-step approach and downloaded the Win10 ISO file through Safari, the browser that comes with Mac. The result is so frustrating, so slow. Later, I tried to download the ISO to my Baidu Netdisk offline through Baidu Netdisk, and then downloaded the Baidu Netdisk Mac version client. I downloaded the ISO through the client. The speed was also unstable, sometimes fast and sometimes slow. . It took 3 days to finally download it, so I couldn't wait to install it. As a result, a blue screen kept appearing, it kept restarting, and it could not be installed normally. I suspected that the ISO file might be damaged when downloaded through Baidu network disk. In order to verify this idea, I searched online and found that dual-system installation can be done through Boot Camp Assistant under Mac system. I installed it this way, and the problems that occurred were the same as under Fusion. So I am sure there is something wrong with the ISO file.

In order to download the intact ISO file, I can only use my ThinkPad to download it, and then copy the ISO file to my mobile hard drive. Then I started to plug the mobile hard drive into the Mac for installation. This time it was relatively smooth, and there was no blue screen restart problem. The system was finally installed, and I finally made progress. Then I started to install various tools under win10: Visual Studio 2013, Tortoise Git, Navicat Premuim, etc. I originally wanted to install mysql under Win10, but considering the issue of virtual machine storage space, I decided to install mysql directly under Mac. The nightmare began again.

Installing mysql itself is not complicated. Just go to the official website to download the dmg file, then double-click it, and then follow the prompts to install it. However, in order to reset the mysql root password, change it to a password you are familiar with instead of a temporary password. So the journey to reset your password begins. It is customary to search for relevant articles on Baidu. The general steps are as follows:

1. Open the preferences in the bottom dock, find mysql, and close the mysql service;

2. Enter the mysql/bin folder, obtain administrator rights, and disable the verification function of mysql. Enter in the terminal:

cd /usr/local/mysql/bin/

## sudo su

##                                                . The mysql

service is started.

3.Set a new password and enter it in the terminal (still in the mysql/bin folder just now):

##                                                       . root'@'localhost' = PASSWORD('The string corresponding to your new password');

After completing the above steps, restart mysql and you can log in normally with the modified password. But I want to connect to mysql on the host through Navicat in the virtual machine. I try to configure the connection information of mysql, and then click the "Test Connection" button. "ERROR 1130: Host 192.168.3.100 is not allowed to connect to this MySQL" pops up. server" prompt. This query was caused by mysql not authorizing other clients to connect. Later, it was set through the authorization method:

If you want to allow the user myuser to connect to the mysql server from the host with ip 192.168.1.3, And use mypassword as password
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'192.168.0.1' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;

The above is the general solution. By the way, another troublesome thing is that in win10 under Fusion, it is best to adjust the network connection to a non-shared mode. I changed it to Wi-Fi, so win10 The IP and the IP of the mac host are in the same network segment, so there is no problem in connecting to mysql. Otherwise, it will be more troublesome and you have to use Bridge or NAT forwarding to connect successfully.

The above is the detailed content of Introduction to VMware Fusion virtual machine software. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template