美文网首页
创建mysql

创建mysql

作者: hibigger | 来源:发表于2019-03-10 09:48 被阅读0次

    CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';

    GRANT ALL PRIVILEGES ON *.* TO 'username'@'localhost' WITH GRANT OPTION;

    CREATE USER 'username'@'%' IDENTIFIED BY 'password';

    GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;

    FLUSH PRIVILEGES;

    相关文章

      网友评论

          本文标题:创建mysql

          本文链接:https://www.haomeiwen.com/subject/xnxupqtx.html