技术改变生活

博客园 首页 新随笔 联系 订阅 管理

2020年6月5日 #

摘要: mysql表复制 mysql表结构复制+mysql表数据复制 mysql> create table t2 like t1; mysql> insert into t2 select * from t1; mysql> select * from t1 into outfile '/tmp/a.tx 阅读全文
posted @ 2020-06-05 12:50 小阿峰 阅读(141) 评论(0) 推荐(0) 编辑

摘要: mysql中使用root用户登录出现:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 错误产生的原因是root用户没有localhost登录的权限,修改 /etc/my.cnf数据 阅读全文
posted @ 2020-06-05 12:46 小阿峰 阅读(2339) 评论(0) 推荐(1) 编辑