自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

MySQL 5安裝過程中遇到的問題的解決

數(shù)據(jù)庫 MySQL
我們今天主要和大家分享的是MySQL 5安裝的過程中遇到的相關(guān)問題的解決,下面就是文章的具體內(nèi)容的介紹,望你在瀏覽之后會(huì)有所收獲。

以下的文章主要是對(duì)MySQL 5安裝的過程中遇到的相關(guān)問題的解決,本文主要是以代碼的方式來對(duì)MySQL 5安裝的相關(guān)問題的詳細(xì)解析,如果你對(duì)其實(shí)際的操作有興趣的話,你就可以 瀏覽以下的文章了。

1、[root@localhost bin]# ./MySQLd_safe –skip-grant-tables

出現(xiàn)以下信息:

 

  1. Installing MySQL system tables…  
  2. 090724 12:05:13 [Warning] option ‘max_join_size’: 
    unsigned value 18446744073709551615 adjusted to 4294967295  
  3. 090724 12:05:13 [Warning] option ‘max_join_size’: 
    unsigned value 18446744073709551615 adjusted to 4294967295  
  4. ERROR: 1062 Duplicate entry ‘localhost-’ for key 1  
  5. 090724 12:05:13 [ERROR] Aborting  
  6. 090724 12:05:13 [Note] /usr/local/MySQL5/libexec/MySQLd: Shutdown complete  
  7. Installation of system tables failed!  
  8. Examine the logs in /var/lib/MySQL5 for more information.  
  9. You can try to start the MySQLd daemon with:  
  10. /usr/local/MySQL5/libexec/MySQLd –skip-grant &  
  11. and use the command line tool  
  12. /usr/local/MySQL5/bin/MySQL to connect to the MySQL  
  13. database and look at the grant tables:  
  14. http://www.knowsky.com/  
  15. shell> /usr/local/MySQL5/bin/MySQL -u root MySQL  
  16. MySQL> show tables  
  17. Try ‘MySQLd –help’ if you have problems with paths. Using –log  
  18. gives you a log in /var/lib/MySQL5 that may be helpful.  
  19. The latest information about MySQL is available on the web at  
  20. http://www.MySQL.com  
  21. Please consult the MySQL manual section: ‘Problems running MySQL_install_db’,  
  22. and the manual section that describes problems on your OS.  
  23. Another information source is the MySQL email archive.  
  24. Please check all of the above before mailing us!  
  25. And if you do mail us, you MUST use the /usr/local/MySQL5/bin/MySQLbug script!  

 

2、[root@localhost bin]# /usr/local/MySQL5/libexec/MySQLd –skip-grant &

出現(xiàn)以下信息:

 

  1. [1] 6633  
  2. [root@localhost bin]# 090724 12:05:34 [Warning] option ‘max_join_size’: 
    unsigned value 18446744073709551615 adjusted to 4294967295  
  3. 090724 12:05:34 [Warning] option ‘max_join_size’: 
    unsigned value 18446744073709551615 adjusted to 4294967295  
  4. 090724 12:05:34 [ERROR] Fatal error: Please read “Security” 
    section of the manual to find out how to run 
    MySQLd as root!  
  5. 090724 12:05:34 [ERROR] Aborting  
  6. 090724 12:05:34 [Note] /usr/local/MySQL5/libexec/MySQLd: Shutdown complete  
  7. [1]+ Exit 1 /usr/local/MySQL5/libexec/MySQLd –skip-grant  

 

解決辦法:在/etc/my.conf中的MySQLd這一節(jié)中加入:user=MySQL,以上的相關(guān)內(nèi)容就是對(duì)MySQL 5安裝遇到的問題的介紹,望你能有所收獲。

【編輯推薦】

  1. MySQL隱藏空間相關(guān)問題的解答
  2. MySQL數(shù)據(jù)庫命令的基礎(chǔ)簡(jiǎn)介
  3. MySQL數(shù)字類型中的三種常用種類
  4. MySQL force Index 強(qiáng)制索引概述
  5. MySQL參數(shù)設(shè)置如何解決瓶頸效應(yīng)?

 

 

責(zé)任編輯:佚名 來源: 博客園
相關(guān)推薦

2011-04-11 13:28:31

Oracle安裝

2011-04-11 13:25:59

Sybase安裝

2010-03-08 09:29:09

Linux Debia

2009-12-10 14:19:41

配置靜態(tài)路由

2010-03-30 10:04:01

Nginx php

2011-08-22 17:34:53

Ubuntu11.04

2011-07-22 17:37:18

MySQL數(shù)據(jù)庫

2016-03-23 11:03:40

2010-01-04 15:27:45

Silverlight

2011-05-13 14:56:44

SybaseOracle

2023-02-28 16:26:46

推薦系統(tǒng)模塊

2010-01-11 16:28:36

Fedora 2安裝

2009-11-26 10:46:38

VS2003制作安裝

2021-12-24 10:17:54

Java數(shù)據(jù)時(shí)間戳

2020-07-29 08:03:26

Celery異步項(xiàng)目

2020-12-23 07:53:01

TCP通信Netty

2024-09-09 08:02:27

2011-03-04 13:49:38

FileZilla

2021-08-05 08:32:27

React開發(fā)項(xiàng)目

2023-12-12 11:27:58

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)