phpstorm如何用sql建立数据库的,老是提示Connection to demo@localhost failed. [08001] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
4年前 添加回复 0
推荐课程 评论 问答 笔记 课件下载 请输入内容 发表评论 {am} enda {am} enda 插入数据中的中文再次读取变问号,怎么解 6个月前 添加回复 1 笑的很甜丶 笑的很甜丶 tp5.1.26 field就不支持取中文的别名了,可以修改但是觉得很坑,中文用处还是挺多的。@老师,麻烦看下,有什么好的解决方法。 7个月前 添加回复 1 Zerin 'id
4年前 添加回复 0
[最新 Simine 的回答] 上面的也可以 或者用这种model('Stus')->where('id', 16)->whereOr('id',17)->delete();
时间:4年前
[最新 胤蠡 的回答] $res = Db::table('student') ->field([ 'id AS 编号', 'name AS 姓名' ]) ->where('id','=',2) ->find(); 暂时解决
时间:5年前
笑的很甜丶
tp5.1.26 field就不支持取中文的别名了,可以修改但是觉得很坑,中文用处还是挺多的。@老师,麻烦看下,有什么好的解决方法。
5年前 添加回复 4