Home > Database > navicat > body text

Navicat has expired. How to run the previously created database?

下次还敢
Release: 2024-04-24 02:51:18
Original
1145 people have browsed it

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.

Navicat has expired. How to run the previously created database?

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

  1. Open a text editor (e.g. Notepad or TextEdit).
  2. Navigate to the location of the HOSTS file:

    • Windows: C:\Windows\System32\drivers\etc
    • macOS :/etc/hosts
  3. #Add the following lines at the end of the file:

    <code>127.0.0.1 localhost</code>
    Copy after login
  4. Save and close the HOSTS file.

Create a virtual network card

  1. Open a command prompt or terminal.
  2. Enter the following command to create a virtual network card:

    • Windows: netsh interface portproxy add vnic name="Navicat" protocol=tcp port=3306
    • macOS: sudo ifconfig lo0 alias 127.0.0.2
  3. Assign an IP address and port to the newly created network card:

    • Windows: netsh interface portproxy set vnic name="Navicat" listenport=3306 connectaddress=127.0.0.2 connectport=3306
    • macOS: sudo ifconfig lo0 alias 127.0.0.2/24

Connect to the database

  1. Open Navicat.
  2. Create a new MySQL connection.
  3. Enter "127.0.0.2" in the "Hostname/IP Address" field.
  4. Enter "3306" in the "Port" field.
  5. Enter the username and password of the database.
  6. Click the "Connect" button.

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!

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!