Software

Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist

컨텐츠 정보

  • 1,382 조회

본문

58

 

I had this issue on arch linux as well. The issue was pacman installed the package in a different location than MySQL was expecting. I was able to fix the issue with this:

sudo mysql_install_db --user=mysql --basedir=/usr/ --ldata=/var/lib/mysql/

Hope this helps someone!

[이 게시물은 Keiminem님에 의해 2024-05-07 01:39:01 Web Programming에서 이동 됨]

관련자료

댓글 0
등록된 댓글이 없습니다.