mysql
风起来
这个作者很懒,什么都没留下…
展开
-
查询mysql使用的搜索引擎和状态
show table status;SELECT table_name, table_type, engine FROM information_schema.tables WHERE table_schema = ‘mysql’ ORDER BY table_name DESC; 查询mysql使用的搜索引擎和状态(如果需要查询某个数据库里的表搜索引擎和状态可以将table_sc...原创 2018-08-14 16:18:30 · 1029 阅读 · 0 评论 -
mysql数据库的备份和还原
备份的数据库名称是metastore $ mysqldump -uroot -p123456 metastore > /path/metastore.sqlmysql还原: 方式1: mysql -uroot -p metastore < /path/metastore.sql 方式2:mysql -uroot -p mysql> source /path...原创 2018-08-14 16:20:18 · 105 阅读 · 0 评论