随笔分类 - 数据库
关于数据库的内容
摘要:1、select * from wxb_miniapp_fastreg_log where (name like '%1%' or code like '%1%' or legal_persona_wechat like '%1%' or legal_persona_name like '%1%')
阅读全文
摘要:参考:https://www.cnblogs.com/laumians-notes/p/9069498.html (安装) https://www.cnblogs.com/wongbingming/p/6829481.html (软件安装) https://blog.csdn.net/m0_3778
阅读全文
摘要:1.字符集选utf8或utf8mb4(推荐) MySQL在5.5.3之后增加了这个utf8mb4的编码,mb4就是most bytes 4的意思,专门用来兼容四字节的unicode。好在utf8mb4是utf8的超集,除了将编码改为utf8mb4外不需要做其他转换。当然,为了节省空间,一般情况下使用
阅读全文
摘要:1.mysql -u root -p (连接数据库,root为用户名,回车后输入密码) 2.show databases; (展示所有数据库)(注:后面分号不要省略) 3.use student; (使用哪个数据库) 4.show tables; (展示数据库中所有表) 5.select * fro
阅读全文
摘要:1.利用navicat软件 环境:windows+mysql+navicat 方法:进入mysql命令行输入:show variables like "%char%"; 结果如下: 2.配制环境变量: (1)新建MYSQL_HOME变量,并将值设置为D:\phpStudy\phpstudy\MySQ
阅读全文