Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Virtual machine centos installation mysql encountered Couldn't resolve host 'mirror

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

I checked the DNS server and found a DNS error. So modify/etc/resolv.conf

Add a nameserver 8.8.8.8 Complete

Install MySql Server:

1. yum install -y mysql-server

2. service mysqld start

3. Service starts with boot chkconfig mysqld on

4. Enter mysql mysql exit

5. yum install -y mysql-connector-java

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report