MySql Server installation fails when your host name is localhost you will get the “ERROR: 1062 Duplicate entry ‘localhost-root’ for key 1” or “ERROR: 1062 Duplicate entry ‘localhost-‘ for key 1”
Simple solution is
Use the command hostname to give your system a host name and also change host name in the configuration file /etc/sysconfig/network
Source link
Categories
- Blog (1)
- Grandstream UCM (1)
- IP Telephony (45)
- KVM (1)
- Linux (54)
- Microsoft (5)
- Mikrotik (14)
- Network (16)
- Paloalto Firewall (1)
- Uncategorized (196)
- Vicidial (4)
- VMware (67)
-
Recent Posts
- How to Retrieve VICIdial Admin Password from MySQL Database
- How to Manage KVM Virtual Machines on Ubuntu Server Using virsh
- Palo Alto UNAT Configuration – Step-by-Step Lab Guide (LAN → DMZ via WAN)
- Point-to-Point Wireless Devices Comparison: Practical Hardware Selection Guide
- Excitel Broadband Router Default Login