Firebird cannot identify localhost in Linux

Source: Internet
Author: User
In Linux, firebird cannot identify the solution of localhost-Linux enterprise application-Linux server application information. The following is a detailed description. After firebird and flamerobin are installed in linux, I am very excited to use create database .. after creating my first FB database file in Linux, I opened flamerobin and planned to do something on it, connect to my database, or check the firebird version installed on the local machine.

Start flamerobin. generally, flamerobin needs to register a Server before connecting to the database, but it will help you register a localhost in advance during installation. In Windows, I can directly use it to access the database files of the local machine (of course, if you want to register the local machine as a remote SERVER ).

I am also used to doing this in linux. let's take a look at my localhost version. Unable to recognize localhost? No. In windows, it can be used directly. do you need any configuration?

After half a day of exploration, we found that localhost needs to be configured in linux. by default, localhos t points to the address: 1, which of course cannot be identified through such resolution.

Solution:
Enter the network configuration to deactivate the current NIC

Go to the DNS page and change the host name to localhost.

Go to the hosts page and edit the original configuration or add the following configuration:
Address: local IP address
Host Name: localhost
Alias: localhost (this can be written as needed)

Save the configuration and start the NIC.

OK. I connected my database. this time I can do something else. Create table...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.