mysql
baymax55
一个正在赶往架构师路上的程序员...
展开
-
使用存储过程在mysql里创建大量测试数据
create table t1(id int primary key, a int, b int, index(a));create table t2 like t1;drop procedure idata;delimiter ;;create procedure idata()begindeclare i int;set i=1;while(i<=1000)doinsert into t1 values(i, 1001-i, i);set i=i+1;end while;s原创 2020-07-30 16:46:33 · 219 阅读 · 0 评论 -
mysql8.0 2059 - authentication plugin 'caching_sha2_password' -navicat连接异常问题解决
解决mysql -u root -p 登录出现 2059 - authentication plugin 'caching_sha2_password' -navicat进入mysql数据库后,执行:alter user 'root'@'localhost' identified with mysql_native_password by 'yourPassword';...原创 2018-07-26 09:16:54 · 336 阅读 · 0 评论