Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/62.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Can';无法连接到本地MySQL服务器-innodb错误_Php_Mysql_Database_Mysqli_Port - Fatal编程技术网

Php Can';无法连接到本地MySQL服务器-innodb错误

Php Can';无法连接到本地MySQL服务器-innodb错误,php,mysql,database,mysqli,port,Php,Mysql,Database,Mysqli,Port,我在做一个项目,我将数据存储在MySQL数据库中。更新windows 10后,我无法再连接MySQL。可能是端口出错,但我不确定。这是错误 2015-12-14 10:21:31 1eb0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sy

我在做一个项目,我将数据存储在MySQL数据库中。更新windows 10后,我无法再连接MySQL。可能是端口出错,但我不确定。这是错误

2015-12-14 10:21:31 1eb0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
151214 10:21:31 [Note] InnoDB: Using mutexes to ref count buffer pool pages
151214 10:21:31 [Note] InnoDB: The InnoDB memory heap is disabled
151214 10:21:31 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
151214 10:21:31 [Note] InnoDB: Memory barrier is not used
151214 10:21:31 [Note] InnoDB: Compressed tables use zlib 1.2.3
151214 10:21:31 [Note] InnoDB: Not using CPU crc32 instructions
151214 10:21:31 [Note] InnoDB: Initializing buffer pool, size = 16.0M
151214 10:21:31 [Note] InnoDB: Completed initialization of buffer pool
151214 10:21:31 [Note] InnoDB: Highest supported file format is Barracuda.
151214 10:21:31 [Note] InnoDB: Log scan progressed past the checkpoint lsn 26731076
151214 10:21:31 [Note] InnoDB: Database was not shutdown normally!
151214 10:21:31 [Note] InnoDB: Starting crash recovery.
151214 10:21:31 [Note] InnoDB: Reading tablespace information from the .ibd files...
151214 10:21:32 [Note] InnoDB: Restoring possible half-written data pages 
151214 10:21:32 [Note] InnoDB: from the doublewrite buffer...
InnoDB: Doing recovery: scanned up to log sequence number 26731086
151214 10:21:35 [Note] InnoDB: 128 rollback segment(s) are active.
151214 10:21:35 [Note] InnoDB: Waiting for purge to start
151214 10:21:35 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.22-72.0 started; log sequence number 26731086
151214 10:21:35 [Note] Plugin 'FEEDBACK' is disabled.
151214 10:21:35 [Note] Server socket created on IP: '::'.

这是我在屏幕上看到的错误:

警告:mysql_connect():无法建立连接,因为目标计算机主动拒绝连接。在第2行的C:\xampp\htdocs\beyond 2045\php\connect.php中
数据库连接失败无法建立连接,因为目标计算机主动拒绝连接


欢迎访问,所以在这个网站上,我们帮助那些代码有问题的人。除非发布用于连接MySQL服务器的内容(例如,如果使用代码发布代码)。以及您已经尝试解决此问题的方法(因此我们可以排除这些可能性并更好地帮助您)。我们帮不了你。因此,如果你能用我提到的两件事来更新这个问题,我们可以更好地帮助你。如果你想知道你将来是否想问另一个问题,请看这里。你发布的日志中没有一个错误,只有注释和警告。你在PHP中遇到了什么错误?@BRoebie你能想出一些我可以尝试的其他解决方案吗?你能展示一下你的连接字符串是怎样的吗。在你的代码中,我觉得有problem@GeraldSchneider我的意思是错误。抱歉:P连接字符串似乎有问题