求大神救救孩子,报错信息及代码如图,用的是xampp
1条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
北风之神Boreas 2021-02-04 15:38最佳回答 专家已采纳有兴趣你可以调试一下它的调用过程
没有时间你就换一下localhost为ip地址试试
采纳该答案 已采纳该答案 专家已采纳评论解决 无用打赏举报微信扫一扫
分享评论登录 后可回复...
报告相同问题?
提交
相关推荐 更多相似问题
- 2021-01-30 19:04回答 1 已采纳 有兴趣你可以调试一下它的调用过程 没有时间你就换一下localhost为ip地址试试
- 2015-10-06 09:50回答 1 已采纳 You can try by using $mysqli = new mysqli("example.com", "user", "password", "database");
- 2017-02-14 18:31回答 2 已采纳 Server's PHP instance switched from IIS to IISExpress. Switching it back to (full) IIS, and enduri
- 2021-04-30 05:15百面书生爱写撕的博客 我的代码只显示一个没有文字的...我使用的MySQL版本是5.0.77,PHP版本是5.1.6$user = "user";$password = "user";#$database = "database";$con = mysql_connect("localhost",$user,$password);if (!con) {echo "c...
- 2021-03-23 21:51白白白小姐的博客 哪个是最新版本的PHP版本,谁支持mysql_connect()?我想升级我的PHP版本。我读过,mysql_connect()被否决了。在所有项目中,我都使用了旧的mysql_connect()。我可以更新到php 5.6.5吗,或者这个版本中的命令已经被...
- 2021-04-30 04:05weixin_39653442的博客 我想要它,如果它使用下面的代码失败重定向到表单页面:$checkconnection = mysql_connect('localhost', $dbuser, $dbpass)or die();if(!$checkconnection){$_SESSION['errormsg'] = "Cannot connect to specfied ...
- 2012-02-19 14:36回答 2 已采纳 I am not seeing MySQL as an installed module. Did you install it? # yum install php-mysql (f
- 2019-02-04 10:58回答 1 已采纳 You are mixing oop and procedural versions together and that is the reason why it does not work.
- 回答 1 已采纳 ok this is fixed: The server's PHP configuration has been switched to the Apache MPM to "Event" r
- 2021-02-01 14:51北体宇哥的博客 做了一下mysql升级,开发机上mysql升级到5.6版本,结果连接一些低版本的mysql服务器报出如下异常:Warning: mysql_connect(): Connection using old (pre-4.1.1) authentication protocol refused (client option '...
- WordPress 下升级php版本5.6到7.x Fatal error: Uncaught Error: Call to undefined function mysql_connect()已解决2021-09-04 21:24昭z_ysa2022的博客 WordPress 下升级php版本5.6到7.x报错(已解决) 事件起因: 使用wordpress时主题需要升级,查看主题要求的php版本为7.1+ 在没有备份网站的情况下,将php版本改为7.2,结果直接导致网站报错 Fatal error: Uncaught...
- 2021-01-27 07:53无人清掃的博客 php mysql_connect不支持的解决方法发布时间:2020-09-08 10:29:33来源:亿速云阅读:134作者:小新php mysql_connect不支持的解决方法?这个问题可能是我们日常学习或工作经常见到的。希望通过这个问题能让你收获颇...
- 2018-11-13 08:51回答 1 已采纳 I solved the problem using Coladict comment, the pgsql wasn't loading in command line, since I was
- 2019-01-16 05:16回答 1 已采纳 After PHP 5.6.* all mysql_* functions are deprecated. I think that's why you are getting the Inter
- 2016-12-21 12:52回答 6 已采纳 可能是选择数据库不成功
- 2017-12-27 10:09最新版Ucenter,修正不兼容php7,mysql_connect()不可用等问题,utf-8
- 2021-03-23 22:12麦子与海的博客 baidu、google一个都不少的搜索,更改php.ini,拷贝dll.都试了,参考了如下方法等:1、没有正确安装Mysql数据库,在系统服务中Mysql相关的服务没有启动 (请查看正确安装Mysql的方法)2、在系统的 system32(C:\windows...
- 2021-01-18 22:05王瑞恩的博客 mysql_connect()函数是一个php与mysql数据库连接函数,如果你的php不支持mysql_connect()函数就是你的数据库不能与mysql连接了,下面我来总结一下解决mysql_connect()不能使用的方法。如果是apache环境我们参考下面...
- 2014-11-12 23:08回答 1 已采纳 Based on the the information in the question and the comments, it is clear that GoDaddy's network
- 2021-01-19 17:12weixin_39633252的博客 mysql_query是PHP中的一个内置函数,用于执行某个针对数据库的查询。语法:mysqli_query(connection,query,resultmode);参数:connection:必需。规定要使用的 MySQL 连接。query:必需,规定查询字符串。resultmode...
- 没有解决我的问题, 去提问