By modifying the HOSTS file and creating a virtual network card, you can bypass the Navicat trial period restrictions and continue to access and manage the MySQL database: add 127.0.0.1 localhost in the HOSTS file. Create a virtual network card and assign an IP address and port (Windows: 3306; macOS: 127.0.0.2 3306). Connect to the database in Navicat, using hostname 127.0.0.2 and port 3306.
How to continue running the database after Navicat expires
Navicat is a popular database management tool, once you try it After the period ends, it will not allow the user to connect to the database. However, it is possible to bypass this limitation and continue running a previously created database by:
Modify the HOSTS file
Navigate to the location of the HOSTS file:
C:\Windows\System32\drivers\etc
/etc/hosts
#Add the following lines at the end of the file:
<code>127.0.0.1 localhost</code>
Create a virtual network card
Enter the following command to create a virtual network card:
netsh interface portproxy add vnic name="Navicat" protocol=tcp port=3306
sudo ifconfig lo0 alias 127.0.0.2
Assign an IP address and port to the newly created network card:
netsh interface portproxy set vnic name="Navicat" listenport=3306 connectaddress=127.0.0.2 connectport=3306
sudo ifconfig lo0 alias 127.0.0.2/24
Connect to the database
Using this method, you will be able to access and manage your database after Navicat expires. Note that this method only works with MySQL databases and requires administrator privileges to modify the HOSTS file or create a virtual network card.
The above is the detailed content of Navicat has expired. How to run the previously created database?. For more information, please follow other related articles on the PHP Chinese website!