柳暗花明笔记

    Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 解法办法

    所属分类:[ linux&mysql ] 猫哲学家 发表于:2017-07-09 14:36 浏览:123

    /usr/local/mysql/scripts/mysql_install_db --defaults-file=/etc/my.cnf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql

     

    Installing MySQL system tables...
    170709 12:22:26 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
    170709 12:22:26 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.56-log) starting as process 17067 ...
    OK
    Filling help tables...
    170709 12:22:26 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
    170709 12:22:26 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.56-log) starting as process 17073 ...
    OK

    To start mysqld at boot time you have to copy
    support-files/mysql.server to the right place for your system

    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:

    /usr/local/mysql/bin/mysqladmin -u root password 'new-password'
    /usr/local/mysql/bin/mysqladmin -u root -h lanmiz password 'new-password'

    标签: mysql 
    上一编文章 linux 批量查找替换 下一编文章 神秘的open_basedir,有很多地方都可以设置
    最近文章
    发表评论