Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4137555
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

发布时间:2021-03-22 11:25:22

通过使用 CONCAT 函数将数据库表名称和需要执行的 SQL 语句连接起来,输出在控制台;然后从控制台复制这些内容,粘贴,执行,OK。table_schema 条件为需要操作的数据库名称SELECTCONCAT'DROP TABLE IF EXISTS '';'FROMWHERE'ump'......【阅读全文】

阅读(594) | 评论(0) | 转发(0)

发布时间:2020-11-03 16:43:00

centos下MariaDB重置密码和ubuntu下mysql 有很大不同.1  Check the version of our MariaDB Servermysql --versionmysql  Ver 15.1 Distrib 10.4.12-MariaDB, for Linux (x86_64) using readline 5.12 stop MariaDB servicesystemctl stop mariadb.service3 start MariaDB database in safe mo.........【阅读全文】

阅读(855) | 评论(0) | 转发(0)

发布时间:2019-03-27 15:42:57

运行mysql -u root -p运行 select @@datadir;+-----------------+| @@datadir       |+-----------------+| /var/lib/mysql/ |+-----------------+1 row in set (0.00 sec)停止mysqlsudo systemctl stop mysql查看mysql状态sudo systemctl status mysql备份mysql原始库 sudo m.........【阅读全文】

阅读(3466) | 评论(0) | 转发(0)

发布时间:2018-08-28 17:37:04

windows下安装mysql 5.7首先必须运行在Administrator权限下面创建data目录运行 UPDATE. authentication_string () password_expired ;FLUSHPRIVILEGES......【阅读全文】

阅读(1388) | 评论(0) | 转发(0)

发布时间:2018-06-25 18:24:17

很多人给的解决方案是这样的,修改 /etc/my.cnf , 然后重启服务.点击(此处)折叠或打开[mysqld] skip-host-cacheskip-name-resolve......【阅读全文】

阅读(1694) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册