摘要: 一、合并字符串 1.字符串合并concat concat(string1,string2...stringN); 2.在合并的相邻字符串间插入一个特殊符号concat_ws concat_ws(separator,string1,string2...stringN); 二、切割字符串 1.分隔符切割 阅读全文
posted @ 2024-10-28 16:34 vello 阅读(23) 评论(0) 推荐(0)
摘要: 一、MySQL的权限 二、权限用法 1.创建用户create user 'admin'@'%' identified by 'your_password'; 可通过navicat加密方式登录 2.创建用户create user 'admin'@'%' identified with mysql_na 阅读全文
posted @ 2024-10-28 14:54 vello 阅读(116) 评论(0) 推荐(0)
摘要: 一、mysql8.0升级了登录密码认证策略 select user,host,plugin from mysql.user; 二、修改密码认证策略 alter user 'admin'@'%' IDENTIFIED with mysql_native_password by 'new_passwor 阅读全文
posted @ 2024-10-28 14:28 vello 阅读(249) 评论(0) 推荐(0)