日志信息:
MySQL: Table 'mysql.plugin' doesn't exist
2015-12-21T02:12:18.872125Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2015-12-21T02:12:18.873125Z 0 [Note] Salting uuid generator variables, current_pid: 9588, server_start_time: 1450663936, bytes_sent: 0, 
2015-12-21T02:12:18.880130Z 0 [Note] Generated uuid: '4328bca2-a788-11e5-8762-80000bbbaabb', server_start_time: 1450673524, bytes_sent: 841265411120
2015-12-21T02:12:18.880629Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 4328bca2-a788-11e5-8762-80000bbbaabb.
2015-12-21T02:12:18.934668Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2015-12-21T02:12:18.935669Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2015-12-21T02:12:18.937169Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2015-12-21T02:12:18.938170Z 0 [Note] IPv6 is available.
2015-12-21T02:12:18.938658Z 0 [Note]   - '::' resolves to '::';
2015-12-21T02:12:18.939170Z 0 [Note] Server socket created on IP: '::'.
2015-12-21T02:12:18.940659Z 0 [Warning] Failed to open optimizer cost constant tables2015-12-21T02:12:18.941159Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2015-12-21T02:12:18.941673Z 0 [ERROR] Aborting

解决方案 »

  1.   

    检查DATA目录下的MYSQL文件夹中是否有这些表,以及目录访问权限
      

  2.   

    楼主你好
            我也遇到过类似的问题,一般产生原因是手工更改my.ini的数据库文件存放地址导致的 
    mysql服务启动时候找不到内置数据库“mysql”,找不到那张表,就包了上述错误。 解决办法:将安装目录或之前的目录里面的“mysql”数据库拷贝到新的数据库文件存放目录即可
      

  3.   

    开始是改了my.ini。 启动不了,后来又把my.ini给删除了,也是启动不起了。也没有搜到默认的data文件夹。。
      

  4.   

    你是data文件夹少了一些文件