首页 > 数据库技术 > 详细

mysql基本操作

时间:2019-07-09 18:13:46      阅读:101      评论:0      收藏:0      [点我收藏+]

安装mysql:https://zhuanlan.zhihu.com/p/31296214

基本操作参考:https://www.runoob.com/mysql/mysql-create-database.html

pymysql基本操作:https://www.runoob.com/python3/python3-mysql.html

 

补充:

显示某个字段(列): select  day(字段) from test(表);

删除数据库:drop database testDB;

授权给所有用户:grant all privileges on *.* to root@‘%‘identified by ‘password‘;

       更多授权操作参考:https://www.cnblogs.com/wanghuaijun/p/5802209.html

显示表结构:describe table;

删除用户:drop user testuser @localhost;

 

mysql基本操作

原文:https://www.cnblogs.com/573177885qq/p/11158742.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!