二级题目求大佬解答
mysql吧
全部回复
仅看楼主
level 1
大黄鸭945 楼主
创建test用户,主机名为localhost,并将xsxk的所有权限赋予test用户use mysql;insert into user(host,user)values('localhost','test');flush privileges;grant all on xsxk.*to test@localhost;flush privileges;
为什么答案这里是use mysql啊
数据库不是xsxk吗
如果这么写是
正确的

create user 'test'@'localhost';grant all on xsxk.* to 'test'@'localhost' with grant option;
2022年03月13日 08点03分 1
level 1
大黄鸭945 楼主
2022年03月13日 08点03分 2
level 1
大黄鸭945 楼主
还有这里的$sql=‘选课.课程名称=课程.课程名称’ 能这么写sql语句的? 不应该是select from where这种吗
2022年03月13日 08点03分 3
level 1
这是php的语言吧
2022年03月13日 09点03分 4
这是大题的综合应用 就是用的php
2022年03月13日 09点03分
level 2
不知道还需要要不 是mysql中用户的信息以及具有权限的信息都存放在系统中的use表中 这个语句就行看所有用户的信息跟权限的
2024年12月18日 04点12分 5
1