linux版本資訊:
uname -a
Linux iZwz9e3mzj49buqexsjz82Z 3.13.0-86-generic #130-Ubuntu SMP Mon Apr 18 18:27:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
安裝mysql版本:
mysql-5.6.39-linux-glibc2.12-x86_64.tar.gz
看網上教程解壓安裝到:
./scripts/mysql_install_db --user=mysql
這一步時,拋出下面錯誤資訊:
FATAL ERROR: Neither host 'iZwz9e3mzj49buqexsjz82Z' nor 'localhost' could be looked up with
/usr/bin/resolveip
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
不是太懂,求大神指點;在線等;
uj5u.com熱心網友回復:
英文意思是看一下hosts檔案和resolv.conf檔案,用hostname命令設定一下主機名uj5u.com熱心網友回復:
resolv.conf是系統檔案還是mysql的檔案,在哪個位置,主機名又需要修改成什么,隨便嗎?
能具體說清楚嗎
uj5u.com熱心網友回復:
https://blog.csdn.net/itblog/article/details/2697391參考這篇文章試下
uj5u.com熱心網友回復:
mysql是常見軟體,直接用發行版自帶的mysql就好了,方便快捷,穩定可靠sudo aptitude install mysql-server
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/93781.html
標籤:MySQL
