zoukankan      html  css  js  c++  java
  • windows安装mysql

    1. 版本路径:https://dev.mysql.com/downloads/file/?id=485812
    2. 安装
      *以管理员身份打开命令行:
      下转到mysql的bin目录下:cd D:mysql-8.0.16-winx64in
      在bin下执行安装mysql:mysqld --install
      初始化mysql:mysqld --initialize --console(root@localhost: ****** 此为密码)
      启动服务:net start mysql
      登录mysql:mysql -uroot --p
      重置密码:alter user 'root'@'localhost' identified by '123456';
      3.问题
      navcat无法连接mysql8
      解决方法:alter user 'root'@'localhost' identified with mysql_native_password by '123456';

    建表报错:
    问题:[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with
    sql_mode=only_full_group_by
    解决方法:
    set sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';

    ******************************人因为有理想、梦想而变得伟大,而真正伟大就是不断努力实现理想、梦想*****************************
  • 相关阅读:
    testd3p
    my open音频的
    1
    one play
    ndk ffmpeg实践2
    ndk ffmpeg实践
    Mac ndk21 交叉ffmpeg目前
    ffmpeg交叉
    and cmake 链接库及播放例子 及读文件
    更正之前《登录小案例》密码错3次15分钟内不准登录
  • 原文地址:https://www.cnblogs.com/cloudLi/p/14661463.html
Copyright © 2011-2022 走看看